类 FutureWrapper<V>
java.lang.Object
com.alibaba.csp.sentinel.adapter.jaxrs.future.FutureWrapper<V>
- 所有已实现的接口:
Future<V>
wrap Future to ensure entry exit
- 作者:
- sea
-
构造器详细资料
-
FutureWrapper
-
-
方法详细资料
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- 指定者:
isCancelled在接口中Future<V>
-
isDone
public boolean isDone() -
get
- 指定者:
get在接口中Future<V>- 抛出:
InterruptedExceptionExecutionException
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - 指定者:
get在接口中Future<V>- 抛出:
InterruptedExceptionExecutionExceptionTimeoutException
-