Class AbstractFuture<V>
java.lang.Object
io.netty.util.concurrent.AbstractFuture<V>
- Type Parameters:
V-
- All Implemented Interfaces:
Future<V>, java.util.concurrent.Future<V>
- Direct Known Subclasses:
CompleteFuture, DefaultPromise, VoidChannelPromise
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccess, removeListener, removeListeners, sync, syncUninterruptiblyMethods inherited from interface java.util.concurrent.Future
isCancelled, isDone
-
Constructor Details
-
AbstractFuture
public AbstractFuture()
-
-
Method Details
-
get
-
get
public V get(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException - Specified by:
getin interfacejava.util.concurrent.Future<V>- Throws:
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionjava.util.concurrent.TimeoutException
-