V - public abstract class AbstractFuture<V> extends java.lang.Object implements Future<V>
Future implementation which does not allow for cancellation.| 构造器和说明 |
|---|
AbstractFuture() |
| 限定符和类型 | 方法和说明 |
|---|---|
V |
get() |
V |
get(long timeout,
java.util.concurrent.TimeUnit unit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccess, removeListener, removeListeners, sync, syncUninterruptiblypublic V get() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
get 在接口中 java.util.concurrent.Future<V>java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionpublic V get(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
get 在接口中 java.util.concurrent.Future<V>java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionjava.util.concurrent.TimeoutException