|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object compbio.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 SyncExecutor
public boolean cancelJob()
SyncExecutor
cancelJob
in interface SyncExecutor
public JobStatus getJobStatus()
SyncExecutor
getJobStatus
in interface SyncExecutor
public void executeJob() throws JobSubmissionException
SyncExecutor
executeJob
in interface SyncExecutor
JobSubmissionException
- if submission failspublic ConfiguredExecutable<?> waitForResult() throws JobExecutionException
SyncExecutor
waitForResult
in interface SyncExecutor
java.util.concurrent.CancellationException
JobExecutionException
public boolean cleanup()
SyncExecutor
cleanup
in interface SyncExecutor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |