|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.moab.api.credential.ResourceUsage
public class ResourceUsage
The resource usage of any given credential. The values contained in this class represent the total amount of resources the credentials have used so far. Moab stores this information and can report it back when requested.
Constructor Summary | |
---|---|
ResourceUsage()
Default constructor. |
Method Summary | |
---|---|
int |
getHardLimitActiveJobs()
Get the hard limit of Active jobs this credential may have. |
int |
getHardLimitActiveNodes()
Get the hard limit of Active nodes this credential may access. |
int |
getHardLimitActiveProcs()
Get the hard limit of Active processors this credential may access. |
long |
getHardLimitActiveProcSec()
Get the hard limit of Active processor seconds this credential may utilize. |
int |
getHardLimitIdleJobs()
Get the hard limit of idle jobs this credential may have. |
long |
getSoftLimitAcitveProcSec()
Get the soft limit of Active processor seconds this credential may utilize. |
int |
getSoftLimitActiveJobs()
Get the soft limit of Active jobs this credential may have. |
int |
getSoftLimitActiveNodes()
Get the soft limit of Active nodes this credential may access. |
int |
getSoftLimitActiveProcs()
Get the soft limit of Active processors this credential may access. |
long |
getSoftLimitActiveProcSec()
Get the soft limit of Active processor seconds this credential may utilize. |
int |
getSoftLimitIdleJobs()
Get the soft limit of idle jobs this credential may have. |
int |
getUtilizedJobs()
Get the current number of jobs this credential is currently using. |
long |
getUtilizedMem()
Get the current amount of utilized memory this credential is currently using. |
int |
getUtilizedNodes()
Get the current number of nodes this credential is currently using. |
int |
getUtilizedProc()
Get the current number of processors this credential is currently using. |
long |
getUtilizedProcSec()
Get the current number of processor seconds this credential is currently using. |
void |
setDefaultValues(ResourceUsage other)
Sets Default Values for Resource Usage. |
void |
setHardLimitActiveJobs(int hardLimitActiveJobs)
Set the hard limit of active jobs that this credential can use. |
void |
setHardLimitActiveNodes(int hardLimitActiveNodes)
Set the hard limit of active nodes that this credential can use. |
void |
setHardLimitActiveProcs(int hardLimitActiveProcss)
Set the hard limit of active processors that this credential can use. |
void |
setHardLimitActiveProcSec(long hardLimitActiveProcSec)
Set the hard limit of active processor seconds that this credential can use. |
void |
setHardLimitIdleJobs(int hardLimitIdleJobs)
Set the hard limit of idle jobs that this credential can use. |
void |
setSoftLimitAcitveProcSec(int softLimitAcitveProcSec)
Set the soft limit of active processor seconds that this credential can use. |
void |
setSoftLimitActiveJobs(int softLimitActiveJobs)
Set the soft limit of active jobs that this credential can use. |
void |
setSoftLimitActiveNodes(int softLimitActiveNodes)
Set the soft limit of active nodes that this credential can use. |
void |
setSoftLimitActiveProcs(int softLimitActiveProcs)
Set the soft limit of active processors that this credential can use. |
void |
setSoftLimitActiveProcSec(long softLimitActiveProcSec)
Set the soft limit of active processor seconds that this credential can use. |
void |
setSoftLimitIdleJobs(int softLimitIdleJobs)
Set the soft limit of idle jobs that this credential can use |
void |
setUtilizedJobs(int utilizedJobs)
Set the number of jobs this credential is currently using. |
void |
setUtilizedMem(long utilizedMem)
Set the amount of memory (in MB) this credential is currently using. |
void |
setUtilizedNodes(int utilizedNodes)
Set the number of nodes this credential is currently using. |
void |
setUtilizedProc(int utilizedProc)
Set the number of processors this credential is currently using |
void |
setUtilizedProcSec(long utilizedProcSec)
Set the number of processor seconds this credential is currently using. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceUsage()
Method Detail |
---|
public int getHardLimitActiveJobs()
public int getHardLimitActiveNodes()
public int getHardLimitActiveProcs()
public long getHardLimitActiveProcSec()
public int getHardLimitIdleJobs()
public long getSoftLimitAcitveProcSec()
public int getSoftLimitActiveJobs()
public int getSoftLimitActiveNodes()
public int getSoftLimitActiveProcs()
public long getSoftLimitActiveProcSec()
public int getSoftLimitIdleJobs()
public int getUtilizedJobs()
public long getUtilizedMem()
public int getUtilizedNodes()
public int getUtilizedProc()
public long getUtilizedProcSec()
public void setDefaultValues(ResourceUsage other)
other
- The object that contains all resource information that will be
used in the defaults of the original objectpublic void setHardLimitActiveJobs(int hardLimitActiveJobs)
hardLimitActiveJobs
- the hard limit of active jobs that this credential can usepublic void setHardLimitActiveNodes(int hardLimitActiveNodes)
hardLimitActiveNodes
- the hard limit of active nodes that this credential can usepublic void setHardLimitActiveProcs(int hardLimitActiveProcss)
hardLimitActiveProcss
- the hard limit of active processors that this credential can
usepublic void setHardLimitActiveProcSec(long hardLimitActiveProcSec)
hardLimitActiveProcSec
- the hard limit of active processor seconds that this
credential can usepublic void setHardLimitIdleJobs(int hardLimitIdleJobs)
hardLimitIdleJobs
- the hard limit of idle jobs that this credential can usepublic void setSoftLimitAcitveProcSec(int softLimitAcitveProcSec)
softLimitAcitveProcSec
- the soft limit of active processor seconds that this
credential can usepublic void setSoftLimitActiveJobs(int softLimitActiveJobs)
softLimitActiveJobs
- the soft limit of active jobs that this credential can usepublic void setSoftLimitActiveNodes(int softLimitActiveNodes)
softLimitActiveNodes
- the soft limit of active nodes that this credential can usepublic void setSoftLimitActiveProcs(int softLimitActiveProcs)
softLimitActiveProcs
- the soft limit of active processors that this credential can
usepublic void setSoftLimitActiveProcSec(long softLimitActiveProcSec)
softLimitActiveProcSec
- the soft limit of active processor seconds that this
credential can usepublic void setSoftLimitIdleJobs(int softLimitIdleJobs)
softLimitIdleJobs
- the soft limit of idle jobs that this credential can usepublic void setUtilizedJobs(int utilizedJobs)
utilizedJobs
- the number of jobs this credential is currently usingpublic void setUtilizedMem(long utilizedMem)
utilizedMem
- the amount of memory (in MB) this credential is currently
usingpublic void setUtilizedNodes(int utilizedNodes)
utilizedNodes
- the number of nodes this credential is currently usingpublic void setUtilizedProc(int utilizedProc)
utilizedProc
- the number of processors this credential is currently usingpublic void setUtilizedProcSec(long utilizedProcSec)
utilizedProcSec
- the number of processor seconds this credential is currently
using
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |