|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SyncExecutor
Synchronous executor, is an engine to run the Executable synchronously.
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. |
String |
getWorkDirectory()
|
ConfiguredExecutable<?> |
waitForResult()
Call to this method block for as long as it is required for an executable to finish its job. |
Method Detail |
---|
void executeJob() throws JobSubmissionException
JobSubmissionException
- if submission failsboolean cleanup()
ConfiguredExecutable<?> waitForResult() throws JobExecutionException
JobExecutionException
String getWorkDirectory()
boolean cancelJob()
JobStatus getJobStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |