V - public abstract class AbstractFuture<V> extends Object implements GenericFuture<V>
GenericFuture implementation which does not allow for cancellation.| 构造器和说明 |
|---|
AbstractFuture() |
| 限定符和类型 | 方法和说明 |
|---|---|
V |
get() |
V |
get(long timeout,
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, syncUninterruptiblyisCancelled, isDonepublic V get() throws InterruptedException, ExecutionException
get 在接口中 Future<V>InterruptedExceptionExecutionExceptionpublic V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get 在接口中 Future<V>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2022. All rights reserved.