|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Suspendable
Implemented by dispatch objects which can suspend the execution of dispatch tasks.
Method Summary | |
---|---|
boolean |
isSuspended()
|
void |
resume()
Resumes the invocation of tasks on a dispatch object. |
void |
suspend()
Suspends the invocation of tasks on a dispatch object. |
Method Detail |
---|
void suspend()
Suspends the invocation of tasks on a dispatch object.
A suspended object will not invoke any tasks associated with it. The suspension of an object will occur after any running runnable associated with the object completes.
Calls to suspend()
must be balanced with calls
to resume()
.
resume()
void resume()
Resumes the invocation of tasks on a dispatch object.
suspend()
boolean isSuspended()
resume()
,
suspend()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |