public class HelloWorldExclusiveCoroutine extends ExclusiveCoroutineBase
AsyncRunnable.StateTIMEOUT_NANOS| Constructor and Description |
|---|
HelloWorldExclusiveCoroutine(CoroutinesExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected void |
invokeTimedExclusively(long startTimeNanos)
The method is guaranteed to be executing only in a single thread.
|
invokeTimeddoStart, 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 HelloWorldExclusiveCoroutine(CoroutinesExecutor executor)
protected void invokeTimedExclusively(long startTimeNanos)
ExclusiveCoroutineBaseinvokeTimedExclusively in class ExclusiveCoroutineBasestartTimeNanos - the time when the invocation startedprotected void doClose()
throws java.io.IOException
doClose in class AsyncRunnableBasejava.io.IOException