private class HttpOutput.AsyncFlush extends HttpOutput.ChannelWriteCB
IteratingCallback.ActionCallback.Completable, Callback.Completing, Callback.InvocableCallback, Callback.NestedInvocable.InvocationType| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
_flushed |
_last__nonBlocking| Constructor and Description |
|---|
AsyncFlush(boolean last) |
| Modifier and Type | Method and Description |
|---|---|
protected IteratingCallback.Action |
process()
Method called by
IteratingCallback.iterate() to process the sub task. |
getInvocationType, onCompleteFailure, onCompleteSuccessclose, failed, isClosed, isFailed, isSucceeded, iterate, reset, succeeded, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcombine, from, from, from, from, from, fromcombine, getInvocationType, invokeNonBlocking, isNonBlockingInvocationprotected IteratingCallback.Action process() throws java.lang.Exception
IteratingCallbackIteratingCallback.iterate() to process the sub task.
Implementations must start the asynchronous execution of the sub task (if any) and return an appropriate action:
IteratingCallback.Action.IDLE when no sub tasks are available for execution
but the overall job is not completed yetIteratingCallback.Action.SCHEDULED when the sub task asynchronous execution
has been startedIteratingCallback.Action.SUCCEEDED when the overall job is completedprocess in class IteratingCallbackjava.lang.Exception