|
APTCONVERT 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implemented by an object (invoker) needed to be notified during a job in progress whose total duration is unknown.
Method Summary | |
boolean |
executingJob(java.lang.Object source,
boolean inProgress)
Called by the object doing the lengthy job to notify its invoker that it is still working. |
Method Detail |
public boolean executingJob(java.lang.Object source, boolean inProgress)
source
- the object doing the lengthy jobinProgress
- true
if the source is still working;
false
if the job has just been finished.
executingJob(source, false)
is garanteed to be called
once even if the job was aborted and an exception (other than
JobCanceledException
, see below) thrown.
false
if the invoker wishes the job to be
canceled; true
otherwise.
Most sources do not support job cancelation. Those who support this
feature will implement it by throwing a
JobCanceledException
.
JobCanceledException
|
APTCONVERT 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |