|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.moab.api.jobs.JobsSummary
public class JobsSummary
This class represents summary information for the jobs running on the workload manager. It includes things like the number of active jobs, eligible jobs, and blocked jobs.
It can be used to represent total jobs in the system or jobs for a particular user.
Constructor Summary | |
---|---|
JobsSummary()
|
Method Summary | |
---|---|
int |
getActiveJobs()
Returns the number of active jobs running. |
int |
getBlockedJobs()
Returns the number of jobs blocked from running. |
int |
getEligibleJobs()
The number of eligible jobs that are waiting to run. |
int |
getTotalJobs()
Returns the total number of jobs reported in the summary. |
void |
setActiveJobs(int activeJobs)
Sets the number of active jobs running. |
void |
setBlockedJobs(int blockedJobs)
Sets the number of jobs blocked from running. |
void |
setEligibleJobs(int eligibleJobs)
Sets the number of eligible jobs that are waiting to run. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JobsSummary()
Method Detail |
---|
public int getActiveJobs()
public int getBlockedJobs()
public int getEligibleJobs()
public int getTotalJobs()
public void setActiveJobs(int activeJobs)
activeJobs
- the number of active jobs running.public void setBlockedJobs(int blockedJobs)
blockedJobs
- the number of jobs blocked from running.public void setEligibleJobs(int eligibleJobs)
eligibleJobs
- the number of eligible jobs that are waiting to run.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |