public class FutureWriteCallback extends FutureCallback implements WriteCallback
WriteCallback to drive a Future for the user.Callback.Completable, Callback.NestedInvocable.InvocableExecutor, Invocable.InvocationType__nonBlocking| Constructor and Description |
|---|
FutureWriteCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
writeFailed(Throwable cause) |
void |
writeSuccess() |
cancel, failed, get, get, isCancelled, isDone, rethrow, succeeded, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasPreferred, getInvocationType, getInvocationType, invokeNonBlocking, invokePreferNonBlocking, invokePreferred, isNonBlockingInvocationpublic void writeFailed(Throwable cause)
writeFailed in interface WriteCallbackpublic void writeSuccess()
writeSuccess in interface WriteCallbackCopyright © 1995–2017 Webtide. All rights reserved.