|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ace.moab.api.reservation.JobReservation
public class JobReservation
Represents information about reservations whose type is 'Job'. This class contains job state and job resource information. Internally, Moab represents jobs as reservations in certain situations, and therefore a reservation must be able to store and report this information. This class however is not a replacement for the job API, as jobs are indeed a separate entity from reservations.
Constructor Summary | |
---|---|
JobReservation()
|
Method Summary | |
---|---|
java.lang.String |
getJobID()
Get the unique jobID assigned by Moab |
int |
getProc()
The number of processors the job is using (or will use) |
long |
getPS()
Get the processor seconds used by this job reservation |
JobState |
getState()
Return the state of the job running (or will run) in this job reservation. |
void |
setJobID(java.lang.String jobID)
Set the unique jobID assigned by Moab |
void |
setProc(int proc)
The number of processors that this job reservation will use according to Moab |
void |
setPS(long ps)
Set the processor seconds used by this job reservation |
void |
setState(JobState state)
Set the job state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobReservation()
Method Detail |
---|
public JobState getState()
public void setState(JobState state)
state
- the job reservation state to setpublic java.lang.String getJobID()
public void setJobID(java.lang.String jobID)
jobID
- the unique jobID assigned by Moabpublic int getProc()
public void setProc(int proc)
proc
- The number of processors that this job reservation will use
according to Moabpublic long getPS()
public void setPS(long ps)
ps
- The processor seconds used by this job reservation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |