Class SucceededChannelFuture
java.lang.Object
io.netty.util.concurrent.AbstractFuture<Void>
io.netty.util.concurrent.CompleteFuture<Void>
io.netty.channel.CompleteChannelFuture
io.netty.channel.SucceededChannelFuture
- All Implemented Interfaces:
ChannelFuture, Future<Void>, Future<Void>
The
CompleteChannelFuture which is succeeded already. It is
recommended to use ChannelOutboundInvoker.newSucceededFuture() instead of
calling the constructor of this future.-
Constructor Summary
ConstructorsConstructorDescriptionSucceededChannelFuture(Channel channel, EventExecutor executor) Creates a new instance. -
Method Summary
Methods inherited from class CompleteChannelFuture
addListener, addListeners, await, awaitUninterruptibly, channel, executor, getNow, isVoid, removeListener, removeListeners, sync, syncUninterruptiblyMethods inherited from class CompleteFuture
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, isCancellable, isCancelled, isDoneMethods inherited from class AbstractFuture
get, getMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
await, await, awaitUninterruptibly, awaitUninterruptibly, cancel, isCancellableMethods inherited from interface Future
get, get, isCancelled, isDone
-
Constructor Details
-
SucceededChannelFuture
SucceededChannelFuture(Channel channel, EventExecutor executor) Creates a new instance.- Parameters:
channel- theChannelassociated with this future
-
-
Method Details
-
cause
-
isSuccess
public boolean isSuccess()Description copied from interface:FutureReturnstrueif and only if the I/O operation was completed successfully.
-