| Constructor and Description |
|---|
QueueMuxBatchManager(BackendManager bm)
ctor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
executeRemotely(JobSpec job,
ResourceNode resNode)
Executes a job remotely on the specified
remoteHost. |
String |
getExecutionNode(String jobId) |
List<Job> |
getJobsOnNode(String nodeId)
Get a list of the ids of all jobs that are executing on the given node.
|
boolean |
killJob(String jobId,
ResourceNode node) |
void |
setBackendManager(BackendManager backend)
Set the backend manager.
|
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. |
public QueueMuxBatchManager(BackendManager bm)
bm - - backend managerpublic void setBackendManager(BackendManager backend)
backend - - backend manager effectively mapping queue's to sets of backends.public boolean executeRemotely(JobSpec job, ResourceNode resNode) throws JobExecutionException
BatchmgrremoteHost.executeRemotely in interface Batchmgrjob - The JobSpec to execute.JobExecutionException - If there is an exception executing the job on the remote
host.public void setMonitor(Monitor monitor)
BatchmgrMonitor to be used by this Batchmgr.setMonitor in interface Batchmgrmonitor - The Monitor to be used.public List<Job> getJobsOnNode(String nodeId)
BatchmgrgetJobsOnNode in interface Batchmgrpublic void setJobRepository(JobRepository repository)
BatchmgrJobRepository that this Batchmgr will use to persist
Job information while Jobs are executing.setJobRepository in interface Batchmgrpublic boolean killJob(String jobId, ResourceNode node)
public String getExecutionNode(String jobId)
getExecutionNode in interface BatchmgrCopyright © 1999–2017 Apache OODT. All rights reserved.