Java io.netty.util.concurrent Future fields, constructors, methods, implement or subclass

Example usage for Java io.netty.util.concurrent Future fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.util.concurrent Future.

The text is from its open source code.

Implementation

io.netty.util.concurrent.Future has the following implementations.
Click this link to see all its implementation.

Method

FutureaddListener(GenericFutureListener> listener)
Adds the specified listener to this future.
Futureawait()
Waits for this future to be completed.
booleanawait(long timeout, TimeUnit unit)
Waits for this future to be completed within the specified time limit.
booleanawait(long timeoutMillis)
Waits for this future to be completed within the specified time limit.
FutureawaitUninterruptibly()
Waits for this future to be completed 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.
VgetNow()
Return the result without blocking.
booleanisSuccess()
Returns true if and only if the I/O operation was completed successfully.
FutureremoveListener(GenericFutureListener> listener)
Removes the first occurrence of the specified listener from this future.
Futuresync()
Waits for this future until it is done, and rethrows the cause of the failure if this future failed.
FuturesyncUninterruptibly()
Waits for this future until it is done, and rethrows the cause of the failure if this future failed.