|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcompbio.engine.cluster.drmaa.JobRunner
public class JobRunner
Single cluster job runner class
Constructor Summary | |
---|---|
JobRunner(ConfiguredExecutable<?> confExec)
|
Method Summary | |
---|---|
boolean |
cancelJob()
Stops running job. |
boolean |
cleanup()
Clean up after the job |
boolean |
deepClean()
|
void |
executeJob()
Execute the job |
static JobRunner |
getInstance(ConfiguredExecutable<?> executable)
|
org.ggf.drmaa.JobInfo |
getJobInfo()
This method will block before the calculation has completed and then return the object containing a job execution statistics |
JobStatus |
getJobStatus()
Query the status of the job by its id. |
java.lang.String |
getWorkDirectory()
|
ConfiguredExecutable<?> |
waitForResult()
Call to this method block for as long as it is required for an executable to finish its job. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobRunner(ConfiguredExecutable<?> confExec) throws JobSubmissionException
JobSubmissionException
Method Detail |
---|
public boolean deepClean()
public boolean cleanup()
SyncExecutor
cleanup
in interface SyncExecutor
public boolean cancelJob()
SyncExecutor
cancelJob
in interface SyncExecutor
public java.lang.String getWorkDirectory()
getWorkDirectory
in interface SyncExecutor
public void executeJob() throws JobSubmissionException
SyncExecutor
executeJob
in interface SyncExecutor
JobSubmissionException
- if submission failspublic org.ggf.drmaa.JobInfo getJobInfo() throws JobExecutionException
JobExecutionException
public ConfiguredExecutable<?> waitForResult() throws JobExecutionException
SyncExecutor
waitForResult
in interface SyncExecutor
JobExecutionException
public JobStatus getJobStatus()
SyncExecutor
getJobStatus
in interface SyncExecutor
public static JobRunner getInstance(ConfiguredExecutable<?> executable) throws JobSubmissionException
JobSubmissionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |