protected static class Continuation.ExecutorDispatcher<S> extends Continuation.Dispatcher<S>
continuation
Constructor and Description |
---|
ExecutorDispatcher(Continuation<S> continuation,
java.util.concurrent.Executor executor) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(ContinuationResult<? super S> consumer) |
java.util.concurrent.Executor |
getExecutor() |
boolean |
isExecutor() |
copyAndCast, isHandler, isTrivial, setContinuation
public ExecutorDispatcher(Continuation<S> continuation, java.util.concurrent.Executor executor)
public boolean isExecutor()
isExecutor
in class Continuation.Dispatcher<S>
public java.util.concurrent.Executor getExecutor()
public void dispatch(ContinuationResult<? super S> consumer)
dispatch
in class Continuation.Dispatcher<S>