public class HelloWorldCoroutine extends CoroutineBase
AsyncRunnable.StateTIMEOUT_NANOS| Constructor and Description |
|---|
HelloWorldCoroutine(CoroutinesExecutor executor) |
| Modifier and Type | Method and 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)
|
doStart, doStop, invokeawait, await, close, doShutdown, isClosed, isFinished, isInitial, isShutdown, isStarted, isStopped, shutdown, start, state, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitawait, await, isClosed, isFinished, isInitial, isShutdown, isStarted, isStopped, shutdown, start, state, stoppublic 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