|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines a job queue whose work is portioned in single jobs.
| Method Summary | |
void |
doNextJob()
Do the next job in line. |
java.lang.RuntimeException |
getException()
|
boolean |
isFinished()
|
boolean |
isOnError()
|
| Method Detail |
public boolean isFinished()
public void doNextJob()
The implementation should not throw a RuntimeException when an error occurs
but handle the error internally so that isOnError()
returns true and getException() returns the exception.
public java.lang.RuntimeException getException()
RuntimeException occured in doNextJob() or nullpublic boolean isOnError()
RuntimeException occured in doNextJob()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||