|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Job
Anything that can be run, paused and resumed.
| Method Summary | |
|---|---|
boolean |
isPaused()
|
boolean |
pause()
Pause the execution of a Job. Implementations may also completely ignore the pause() call -- for instance the job may not be split in execution steps, loop iterations and so on; in this case the pause() invocation may simply return false, indicating to the caller that the job was not paused. |
boolean |
pause(boolean sub)
Pause the execution of a Job and optionally all of its subjobs. |
void |
resume()
Resume a previously paused job. |
| Method Detail |
|---|
boolean pause()
boolean pause(boolean sub)
pause(false) is equivalent to pause()
sub - when true, also subtasks will be paused.
void resume()
boolean isPaused()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||