| 
||||||||||
| 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 SyncExecutorpublic boolean cancelJob()
SyncExecutor
cancelJob in interface SyncExecutorpublic java.lang.String getWorkDirectory()
getWorkDirectory in interface SyncExecutor
public void executeJob()
                throws JobSubmissionException
SyncExecutor
executeJob in interface SyncExecutorJobSubmissionException - if submission fails
public org.ggf.drmaa.JobInfo getJobInfo()
                                 throws JobExecutionException
JobExecutionException
public ConfiguredExecutable<?> waitForResult()
                                      throws JobExecutionException
SyncExecutor
waitForResult in interface SyncExecutorJobExecutionExceptionpublic 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 | |||||||||