|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.gridbus.broker.util.RSLUtil
This class has methods to work with RSL, which described jobs for Globus
| Constructor Summary | |
RSLUtil()
|
|
| Method Summary | |
java.lang.String |
getArguments()
Returns the arguments of the job |
java.lang.String |
getDirectory()
Returns the directory for the job |
java.lang.String |
getExecutable()
Returns the name of the job executable |
GassServerUtil |
getGassServer()
Returns the GassServerUtil object associated with the resource |
int |
getMaxCPUTime()
Returns the maximum CPU time to specify in the RSL |
int |
getMaxMemory()
Returns the maximum memory required to specify in the RSL |
int |
getMaxWallTime()
Returns the maximum time allowed for executing the job. |
int |
getMinmemory()
Returns the minimum memory required for the job. |
int |
getNumprocs()
Returns the number of processors required for the job. |
java.lang.String |
getQueue()
Returns the queue for this resource |
java.lang.String |
getStderr()
Returns the std err for the resource |
java.lang.String |
getStdout()
Returns the std out for the resource |
java.lang.String |
rslOutputSubst(boolean BATCH_JOB)
Generates the RSL. |
void |
setArguments(java.lang.String string)
Sets the arguments for the job |
void |
setDirectory(java.lang.String string)
Sets the directory for the job |
void |
setExecutable(java.lang.String executable)
Sets the executable for the job |
void |
setGassServer(GassServerUtil o)
Sets the GASS server for this job |
void |
setMaxCPUTime(int i)
Sets the maximum CPU time for the job |
void |
setMaxMemory(int i)
Set the maximum memory allowed for the job. |
void |
setMaxWallTime(int i)
Sets the maximum time allowed for the job |
void |
setMinmemory(int i)
Sets the minimum memory for the job. |
void |
setNumprocs(int i)
Sets the number of processors required for this job |
void |
setQueue(java.lang.String string)
Sets the job queue. |
void |
setStderr(java.lang.String string)
Sets the std err for this job |
void |
setStdout(java.lang.String string)
Sets the std out for this job |
java.lang.String |
toRSL()
Returns a string representation for the Job RSL description |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RSLUtil()
| Method Detail |
public void setExecutable(java.lang.String executable)
executable - public java.lang.String toRSL()
public java.lang.String getArguments()
public java.lang.String getDirectory()
public java.lang.String getExecutable()
public int getMaxCPUTime()
public int getMaxMemory()
public int getMaxWallTime()
public int getMinmemory()
public int getNumprocs()
public java.lang.String getQueue()
public java.lang.String getStderr()
public java.lang.String getStdout()
public GassServerUtil getGassServer()
public void setArguments(java.lang.String string)
string - public void setDirectory(java.lang.String string)
string - public void setMaxCPUTime(int i)
i - public void setMaxWallTime(int i)
i - public void setMaxMemory(int i)
i - public void setMinmemory(int i)
i - public void setNumprocs(int i)
i - public void setQueue(java.lang.String string)
string - public void setStderr(java.lang.String string)
string - public void setStdout(java.lang.String string)
string - public void setGassServer(GassServerUtil o)
o - public java.lang.String rslOutputSubst(boolean BATCH_JOB)
BATCH_JOB -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||