AsyncRunnable, Coroutine, java.io.Closeable, java.lang.AutoCloseablepublic class HelloWorldCoroutine extends CoroutineBase
AsyncRunnable.StatestateTIMEOUT_NANOS| Constructor | Description |
|---|---|
HelloWorldCoroutine(CoroutinesExecutor executor) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doClose() |
|
protected void |
invokeTimed(long startTimeNanos) |
The method implementation should use the start time to check its own duration in order to not
to exceed the invocation time limit (100 ms)
|
await, await, isClosed, isFinished, isInitial, isShutdown, isStarted, isStopped, shutdown, start, state, stopawait, await, close, doShutdown, isClosed, isFinished, isInitial, isShutdown, isStarted, isStopped, shutdown, start, state, stopdoStart, doStop, invokepublic HelloWorldCoroutine(CoroutinesExecutor executor)
protected void invokeTimed(long startTimeNanos)
CoroutineBaseinvokeTimed in class CoroutineBasestartTimeNanos - the time when the invocation startedprotected void doClose()
throws java.io.IOException
doClose in class AsyncRunnableBasejava.io.IOException