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

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

Introduction

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

The text is from its open source code.

Field

Objectvalue

Method

voidagain()
Jumps to where the execution was resumed.
voidcancel()
Jumps to where the execution was resumed, and suspend execution.
Continuationresume()
Resumes the execution of the specified continuation from where it's left off.
ContinuationstartSuspendedWith(final Runnable target)
Creates a new Continuation object from the specified Runnable object.
ContinuationstartWith(final Runnable target)
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.
voidterminate()
Abnormally terminates the suspended call chain represented by this continuation.