AsyncRunnable, java.lang.AutoCloseable, java.io.CloseableOutputCoroutine<T>CoroutineBase, ExclusiveCoroutineBase, HelloWorldCoroutine, HelloWorldExclusiveCoroutine, RoundRobinOutputCoroutine, TransferCoroutinepublic interface Coroutine extends AsyncRunnable
AsyncRunnable.State| Modifier and Type | Field | Description |
|---|---|---|
static int |
TIMEOUT_NANOS |
The soft limit for the coroutine invocation duration.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
invoke() |
Perform the work
|
await, await, isClosed, isFinished, isInitial, isShutdown, isStarted, isStopped, shutdown, start, state, stopstatic final int TIMEOUT_NANOS