Commit e3508013 authored by Rita Sousa's avatar Rita Sousa

Added setMonitoringPeriod method on COMPSsApplication

parent 71357abc
......@@ -21,7 +21,7 @@ public class COMPSsApplication {
private String infoNature;
/** Application monitoring period attribute. */
private final int monitoringPeriod;
private int monitoringPeriod;
/** COMPSsApplication master process. */
private Master master;
......@@ -123,10 +123,16 @@ public class COMPSsApplication {
* Get application monitoring period attribute
* @return monitoringPeriod
*/
public int getMonitoringPeriod() { return this.monitoringPeriod; }
public int getMonitoringPeriod() { return this.monitoringPeriod; }
/**
* Set application's monitoring period
* @param monitoringPeriod Application's monitoring period
*/
public void setMonitoringPeriod(int monitoringPeriod) { this.monitoringPeriod = monitoringPeriod; }
/**
* Remomve all workers from application
* Remove all workers from application
*/
public void removeWorkers(){
this.workers.removeAll(this.workers);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment