Java io.netty.channel ChannelFuture fields, constructors, methods, implement or subclass

Example usage for Java io.netty.channel ChannelFuture fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.channel ChannelFuture.

The text is from its open source code.

Implementation

io.netty.channel.ChannelFuture has the following implementations.
Click this link to see all its implementation.

Constructor

Method

ChannelFutureaddListener(GenericFutureListener> listener)
ChannelFutureaddListeners(GenericFutureListener>... listeners)
ChannelFutureawait()
booleanawait(long timeoutMillis)
Waits for this future to be completed within the specified time limit.
booleanawait(long timeout, TimeUnit unit)
Waits for this future to be completed within the specified time limit.
ChannelFutureawaitUninterruptibly()
booleanawaitUninterruptibly(long timeout, TimeUnit unit)
Waits for this future to be completed within the specified time limit without interruption.
booleanawaitUninterruptibly(long timeoutMillis)
Waits for this future to be completed within the specified time limit without interruption.
booleancancel(boolean mayInterruptIfRunning)
If the cancellation was successful it will fail the future with a CancellationException .
Throwablecause()
Returns the cause of the failed I/O operation if the I/O operation has failed.
Channelchannel()
Returns a channel where the I/O operation associated with this future takes place.
VgetNow()
Return the result without blocking.
booleanisCancellable()
returns true if and only if the operation can be cancelled via #cancel(boolean) .
booleanisSuccess()
Returns true if and only if the I/O operation was completed successfully.
ChannelFutureremoveListener(GenericFutureListener> listener)
ChannelFutureremoveListeners(GenericFutureListener>... listeners)
ChannelFuturesync()
ChannelFuturesyncUninterruptibly()