Java org.apache.commons.javaflow Continuation fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.javaflow Continuation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.javaflow Continuation.

The text is from its open source code.

Method

ContinuationcontinueWith(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.
ContinuationcontinueWith(final Continuation pOldContinuation)
Resumes the execution of the specified continuation from where it's left off.
ObjectgetContext()
get the current context.
booleanisSerializable()
ContinuationstartSuspendedWith(final Runnable pTarget)
Creates a new Continuation object from the specified Runnable object.
ContinuationstartWith(final Runnable pTarget, final Object pContext)
Starts executing the specified Runnable object in an environment that allows Continuation#suspend() .
ContinuationstartWith(final Runnable pTarget)
Starts executing the specified Runnable object in an environment that allows Continuation#suspend() .
Objectsuspend()
Stops the running continuation.
Objectsuspend(final Object value)
Stops the running continuation.
Objectvalue()
Accessor for value yielded by continuation