|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.site.impl.old.classes.JobManager
public class JobManager
This is a data class that is used to store information about a jobmanager and the information that it reports about a remote pool.
The various attributes that can be associated with the the server are displayed in the following table.
| Attribute Name | Attribute Description |
|---|---|
| url | the url string pointing to the jobmanager. |
| universe | the VDS universe that is associated with this job. Can be transfer or vanilla or any other user defined type. |
| jobamanager type | remote scheduler type to which the jobmanager talks to. |
| idle nodes | the number of idle nodes on the remote resource. |
| total nodes | the total number of nodes on the remote resource. |
| free memory | the free memory. |
| total memory | the total memory |
| jobs in queue | the number of jobs in the queue on the remote scheduler. |
| running jobs | the number of jobs currently running on the remote site. |
| max count | the maximum number of jobs that can be run. |
| max cpu time | the max walltime for the jobs on the remote resource. |
| os type/th> | the operating system type of the remote machines to which the jobmanager talks to. |
| architecture type | the architecture type of the remote machines to which the jobmanager talks to. |
| Field Summary | |
|---|---|
static int |
ARCH_TYPE
The constant to be passed to the accessor functions to get or set the architecture type of the remote machines to which the jobmanager talks to. |
static String |
FORK_JOBMANAGER_TYPE
The jobmanager type associated with the transfer jobs. |
static int |
FREE_MEM
The constant to be passed to the accessor functions to get or set the free memory . |
static int |
GLOBUS_VERSION
The constant to be passed to the accessor functions to get or set the globus version. |
static int |
IDLE_NODES
The constant to be passed to the accessor functions to get or set the idle nodes. |
static int |
JOBMANAGER_TYPE
The constant to be passed to the accessor functions to get or set the jobmanager type. |
static String[] |
JOBMANAGERINFO
Array storing the names of the attributes that are stored with the jobmanager. |
static int |
JOBS_IN_QUEUE
The constant to be passed to the accessor functions to get or set the number of the jobs in the queue attribute. |
private String |
mArchType
The architecture type of the remote machines to which the jobmanager talks to. |
static int |
MAX_COUNT
The constant to be passed to the accessor functions to get or set the maximum number of jobs that can be in the queue. |
static int |
MAX_CPU_TIME
The constant to be passed to the accessor functions to get or set the maxwalltime for the jobs. |
private String |
mFreeMem
The free memory that the jobmanager reports. |
private String |
mGlobusVersion
The globus version that is installed on the remote site. |
private String |
mIdleNodes
The total number of idle nodes that the jobmanager reports are on the remote site. |
private String |
mJobManagerType
The type of remote scheduler to which the jobmanager talks to. |
private String |
mJobsInQueue
The number of jobs in the remote queue at the remote site. |
private String |
mMaxCount
The maximum number of jobs that can be running on the remote site. |
private String |
mMaxCPUTime
The max walltime of the jobs that are run on the remote site. |
private String |
mOSType
The operating system type type of the remote machines to which the jobmanager talks to. |
private String |
mRunningJobs
The number of jobs in the remote queue that are running at the remote site. |
private String |
mTotalMem
The total memory that the jobmanager reports. |
private String |
mTotalNodes
The total number of nodes that the jobmanager reports are on the remote site. |
private String |
mUniverse
The VDS universe with which the jobmanager is associated with. |
private String |
mURL
The url to the jobmanager on the remote site. |
static int |
OS_TYPE
The constant to be passed to the accessor functions to get or set the operating system type of the remote machines to which the jobmanager talks to. |
static int |
RUNNING_JOBS
The constant to be passed to the accessor functions to get or set the number of running jobs attribute. |
static int |
TOTAL_MEM
The constant to be passed to the accessor functions to get or set the total memory. |
static int |
TOTAL_NODES
The constant to be passed to the accessor functions to get or set the total number of nodes. |
static int |
UNIVERSE
The constant to be passed to the accessor functions to get or set the universe. |
static int |
URL
The constant to be passed to the accessor functions to get or set the url. |
static String |
VANILLA_JOBMANAGER_TYPE
The jobmanager type associated with the compute jobs. |
| Constructor Summary | |
|---|---|
JobManager()
Default constructor for the class. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Checks if an object is similar to the one referred to by this class. |
String |
getInfo(int key)
Returns the attribute value of a particular attribute of the jobmanager. |
void |
setInfo(int key,
String value)
Sets an attribute associated with the jobmanager. |
String |
toMultiLine()
Returns the textual description of the contents of JobManager
object in the multiline format. |
String |
toString()
Returns the textual description of the contents of JobManager
object. |
String |
toXML()
Returns the XML description of the contents of JobManager
object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String[] JOBMANAGERINFO
public static final String VANILLA_JOBMANAGER_TYPE
public static final String FORK_JOBMANAGER_TYPE
public static final int URL
public static final int UNIVERSE
public static final int GLOBUS_VERSION
public static final int JOBMANAGER_TYPE
public static final int IDLE_NODES
public static final int TOTAL_NODES
public static final int FREE_MEM
public static final int TOTAL_MEM
public static final int JOBS_IN_QUEUE
public static final int RUNNING_JOBS
public static final int MAX_COUNT
public static final int MAX_CPU_TIME
public static final int OS_TYPE
public static final int ARCH_TYPE
private String mTotalMem
private String mFreeMem
private String mTotalNodes
private String mIdleNodes
private String mMaxCount
private String mMaxCPUTime
private String mJobsInQueue
private String mRunningJobs
private String mOSType
private String mArchType
private String mJobManagerType
private String mURL
private String mUniverse
private String mGlobusVersion
| Constructor Detail |
|---|
public JobManager()
| Method Detail |
|---|
public void setInfo(int key,
String value)
key - the attribute key, which is one of the predefined keys.value - value of the attribute.public String getInfo(int key)
key - the key/attribute name.
public boolean equals(Object o)
equals in class Objecto - the object to be compared for equality.
public String toMultiLine()
JobManager
object in the multiline format.
public String toString()
JobManager
object.
toString in class Objectpublic String toXML()
JobManager
object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||