public class JobManager extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
JobManager() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
delete(java.lang.String jobID)
delete a job from queue
|
java.lang.String |
getID() |
protected void |
selectJobManager(java.lang.String jobmanager,
java.lang.String target,
java.lang.String binPath)
Choose a jobmanager for execution jobmanager can be which is
supported at that time: Condor target is either "localhost" or
"user@host" is the machine where the jobmanager is running
|
protected JobStatusInfo |
status(java.lang.String jobID)
Check the status of the job
|
protected JobStatusInfo |
status(java.lang.String jobID,
int numTasks)
Check the status of the job and tasks if numTasks>0
|
protected java.lang.String |
submit(Job job,
boolean overwrite,
java.lang.String options)
Submit a job, called from Job.submit(); boolean overwrite
indicates whether old files that exist on the same directory should be
removed before staging new files.
|
protected JobManager()
public java.lang.String getID()
protected void selectJobManager(java.lang.String jobmanager, java.lang.String target, java.lang.String binPath) throws JobException
JobException
protected java.lang.String submit(Job job, boolean overwrite, java.lang.String options) throws JobException
JobException
protected JobStatusInfo status(java.lang.String jobID) throws JobException
JobException
protected JobStatusInfo status(java.lang.String jobID, int numTasks) throws JobException
JobException
protected boolean delete(java.lang.String jobID) throws JobException
JobException