private final class AbstractChannel.ChannelCloseFuture extends DefaultChannelFuture
| Constructor and Description |
|---|
ChannelCloseFuture() |
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
setClosed() |
boolean |
setFailure(java.lang.Throwable cause)
Marks this future as a failure and notifies all
listeners.
|
boolean |
setSuccess()
Marks this future as a success and notifies all
listeners.
|
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, getCause, getChannel, isCancelled, isDone, isSuccess, isUseDeadLockChecker, removeListener, setProgress, setUseDeadLockChecker, sync, syncUninterruptiblypublic boolean setSuccess()
ChannelFuturesetSuccess in interface ChannelFuturesetSuccess in class DefaultChannelFuturetrue if and only if successfully marked this future as
a success. Otherwise false because this future is
already marked as either a success or a failure.public boolean setFailure(java.lang.Throwable cause)
ChannelFuturesetFailure in interface ChannelFuturesetFailure in class DefaultChannelFuturetrue if and only if successfully marked this future as
a failure. Otherwise false because this future is
already marked as either a success or a failure.boolean setClosed()