public interface Suspendable
Implemented by dispatch objects which can suspend the execution of dispatch tasks.
Modifier and Type | Method and Description |
---|---|
boolean |
isSuspended() |
void |
resume()
Resumes the invocation of tasks on a dispatch object.
|
void |
suspend()
Suspends the invocation of tasks on a dispatch object.
|
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.
resume()
boolean isSuspended()
Copyright © 2010–2017 FuseSource, Corp.. All rights reserved.