V -
public abstract class AbstractFuture<V> extends java.lang.Object implements Future<V>
Future不允许取消的实现。
| Constructor and Description |
|---|
AbstractFuture() |
| Modifier and Type | Method and Description |
|---|---|
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.InterruptedException
java.util.concurrent.ExecutionException
public 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.InterruptedException
java.util.concurrent.ExecutionException
java.util.concurrent.TimeoutException
Copyright © 2008–2018 The Netty Project. All rights reserved.