|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.star.offline.scheduler.Dispatchers.xgrid.XgridDispatcher
public class XgridDispatcher
Dispatches a jobs using XGRID for Mac O.S. X
Field Summary | |
---|---|
protected BashApplication |
application
|
protected boolean |
simulation
|
Constructor Summary | |
---|---|
XgridDispatcher()
Creates a new instance of XgridDispatcher |
Method Summary | |
---|---|
protected void |
dispatch(Request request,
Job job)
|
void |
dispatch(Request request,
java.util.List jobs)
Dispatches the processes described in the job request. |
BashApplication |
getBashApplication()
|
java.lang.String |
getInputDirName(Job job)
|
int |
getMaxElapseTime()
|
java.lang.String |
getOutputDirName(Job job)
|
java.lang.String |
getXgridCommand(Request request,
Job job)
Returns the full xgrid command to be executed to dispatch the process. |
java.lang.String |
getXgridEx()
|
void |
Kill(Request request,
java.util.List jobs)
Kills the processes associated with this job. |
void |
retrieveOutput(Request job,
java.util.List jobs)
Retrieves the output of the job from the target machine. |
void |
setBashApplication(BashApplication application)
|
void |
setMaxElapseTime(int maxElapseTime)
|
void |
setXgridEx(java.lang.String v)
|
java.lang.String |
Status(Job job,
int Processe)
Returns The status of the job |
void |
stop()
Cases the dispacher to stop dispaching and trys to kill dispached jobs |
boolean |
test(Queue queue)
Runs test(s) on underlying components to determine if submitting jobs should be attempted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BashApplication application
protected boolean simulation
Constructor Detail |
---|
public XgridDispatcher()
Method Detail |
---|
public java.lang.String getXgridEx()
public void setXgridEx(java.lang.String v)
public void setMaxElapseTime(int maxElapseTime)
public int getMaxElapseTime()
public java.lang.String getOutputDirName(Job job)
public java.lang.String getInputDirName(Job job)
public void dispatch(Request request, java.util.List jobs)
Dispatcher
dispatch
in interface Dispatcher
request
- job description and requirements, include input and output file and environment
variablesprotected void dispatch(Request request, Job job)
public java.lang.String getXgridCommand(Request request, Job job)
public void setBashApplication(BashApplication application)
public BashApplication getBashApplication()
public void retrieveOutput(Request job, java.util.List jobs)
retrieveOutput
in interface Dispatcher
job
- job description and requirements, include input and output file and environment
variablespublic void Kill(Request request, java.util.List jobs)
Kill
in interface Dispatcher
public java.lang.String Status(Job job, int Processe)
Status
in interface Dispatcher
public void stop()
stop
in interface Dispatcher
public boolean test(Queue queue)
Dispatcher
test
in interface Dispatcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |