Example usage for Java org.apache.commons.javaflow Continuation fields, constructors, methods, implement or subclass
The text is from its open source code.
Continuation | continueWith(final Continuation pOldContinuation, final Object pContext) Resumes the execution of the specified continuation from where it's left off and creates a new continuation representing the new state. |
Continuation | continueWith(final Continuation pOldContinuation) Resumes the execution of the specified continuation from where it's left off. |
Object | getContext() get the current context. |
boolean | isSerializable() |
Continuation | startSuspendedWith(final Runnable pTarget) Creates a new Continuation object from the specified Runnable object. |
Continuation | startWith(final Runnable pTarget, final Object pContext) Starts executing the specified Runnable object in an environment that allows Continuation#suspend() . |
Continuation | startWith(final Runnable pTarget) Starts executing the specified Runnable object in an environment that allows Continuation#suspend() . |
Object | suspend() Stops the running continuation. |
Object | suspend(final Object value) Stops the running continuation. |
Object | value() Accessor for value yielded by continuation |