|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.star.offline.scheduler.GenericCompositeDispatcher
public class GenericCompositeDispatcher
This class submits all jobs to lower level dispatchers using the dispatcher object the particular job points to.
Constructor Summary | |
---|---|
GenericCompositeDispatcher()
|
Method Summary | |
---|---|
void |
dispatch(Request request,
java.util.List jobs)
Routs the jobs to the correct dispatcher |
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 |
setBackUpDispatcher(Dispatcher dispatcher)
This method sets the dispatcher to be used if the jobs AssociatedDispatcher is Null. |
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 This is currently not implemented by any dispatchers. |
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 |
Constructor Detail |
---|
public GenericCompositeDispatcher()
Method Detail |
---|
public void setBackUpDispatcher(Dispatcher dispatcher)
public void dispatch(Request request, java.util.List jobs)
dispatch
in interface Dispatcher
request
- job description and requirements, include input and output file and environment
variablespublic void retrieveOutput(Request job, java.util.List jobs)
Dispatcher
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)
Dispatcher
Kill
in interface Dispatcher
public java.lang.String Status(Job job, int Processe)
Dispatcher
Status
in interface Dispatcher
public void stop()
Dispatcher
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 |