public class FutureWriteCallback extends FutureCallback implements WriteCallback
WriteCallback to drive a Future for the user.Callback.Adapter, Callback.Nested, Callback.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, waitisNonBlockingpublic void writeFailed(Throwable cause)
writeFailed in interface WriteCallbackpublic void writeSuccess()
writeSuccess in interface WriteCallbackCopyright © 1995-2016 Webtide. All Rights Reserved.