|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Batchmgr
A batchmgr interface.
| Method Summary | |
|---|---|
boolean |
executeRemotely(JobSpec job,
ResourceNode resNode)
Executes a job remotely on the specified remoteHost. |
String |
getExecutionNode(String jobId)
|
boolean |
killJob(String jobId,
ResourceNode node)
|
void |
setJobRepository(JobRepository repository)
Sets the JobRepository that this Batchmgr will use to persist
Job information while Jobs are executing. |
void |
setMonitor(Monitor monitor)
Sets the Monitor to be used by this Batchmgr. |
| Method Detail |
|---|
boolean executeRemotely(JobSpec job,
ResourceNode resNode)
throws JobExecutionException
remoteHost.
job - The JobSpec to execute.remoteHost - A URL pointer to the remote host to execute the job
on.
JobExecutionException - If there is an exception executing the job on the remote
host.void setMonitor(Monitor monitor)
Monitor to be used by this Batchmgr.
monitor - The Monitor to be used.void setJobRepository(JobRepository repository)
JobRepository that this Batchmgr will use to persist
Job information while Jobs are executing.
repository -
boolean killJob(String jobId,
ResourceNode node)
jobId - node -
String getExecutionNode(String jobId)
jobId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||