Class FutureAdapter<V>
java.lang.Object
com.alibaba.dubbo.rpc.protocol.dubbo.FutureAdapter<V>
- All Implemented Interfaces:
Future<V>
Deprecated.
2019-06-20
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Constructor Summary
ConstructorsConstructorDescriptionFutureAdapter(ResponseFuture responseFuture) Deprecated.FutureAdapter(CompletableFuture<Object> future) Deprecated. -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Constructor Details
-
FutureAdapter
Deprecated. -
FutureAdapter
Deprecated.
-
-
Method Details
-
getFuture
Deprecated. -
cancel
public boolean cancel(boolean mayInterruptIfRunning) Deprecated. -
isCancelled
public boolean isCancelled()Deprecated.- Specified by:
isCancelledin interfaceFuture<V>
-
isDone
public boolean isDone()Deprecated. -
get
Deprecated.- Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionException
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException Deprecated.- Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-