Package io.netty.util.concurrent
Class AbstractFuture<V>
java.lang.Object
io.netty.util.concurrent.AbstractFuture<V>
- Type Parameters:
V-
- Direct Known Subclasses:
CompleteFuture,DefaultPromise,VoidChannelPromise
Abstract
Future implementation which does not allow for cancellation.-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
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 io.netty.util.concurrent.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
exceptionNow, isCancelled, isDone, resultNow, state
-
Constructor Details
-
AbstractFuture
public AbstractFuture()
-
-
Method Details
-
get
- Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionException
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-