| 构造器和说明 |
|---|
FutureAdapter(ResponseFuture future) |
public FutureAdapter(ResponseFuture future)
public ResponseFuture getFuture()
public boolean isCancelled()
isCancelled 在接口中 Future<V>public V get() throws InterruptedException, ExecutionException
get 在接口中 Future<V>InterruptedExceptionExecutionExceptionpublic V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get 在接口中 Future<V>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.