| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcompbio.engine.local.LocalRunner
public final class LocalRunner
| Constructor Summary | |
|---|---|
LocalRunner(ConfiguredExecutable<?> executable)
 | 
|
| Method Summary | |
|---|---|
 boolean | 
cancelJob()
Stops running job.  | 
 boolean | 
cleanup()
Clean up after the job  | 
 void | 
executeJob()
Execute the job  | 
 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 LocalRunner(ConfiguredExecutable<?> executable)
| Method Detail | 
|---|
public java.lang.String getWorkDirectory()
getWorkDirectory in interface SyncExecutorpublic boolean cancelJob()
SyncExecutor
cancelJob in interface SyncExecutorpublic JobStatus getJobStatus()
SyncExecutor
getJobStatus in interface SyncExecutor
public void executeJob()
                throws JobSubmissionException
SyncExecutor
executeJob in interface SyncExecutorJobSubmissionException - if submission fails
public ConfiguredExecutable<?> waitForResult()
                                      throws JobExecutionException
SyncExecutor
waitForResult in interface SyncExecutorjava.util.concurrent.CancellationException
JobExecutionExceptionpublic boolean cleanup()
SyncExecutor
cleanup in interface SyncExecutor
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||