Package org.apache.hadoop.hbase.client
Class ResultBoundedCompletionService.QueueingFuture<T>
java.lang.Object
org.apache.hadoop.hbase.client.ResultBoundedCompletionService.QueueingFuture<T>
- All Implemented Interfaces:
Runnable
,Future<T>
,RunnableFuture<T>
- Enclosing class:
- ResultBoundedCompletionService<V>
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private ExecutionException
private final RetryingCallable<T>
private final int
private final int
private T
private boolean
private final RpcRetryingCaller<T>
-
Constructor Summary
ConstructorDescriptionQueueingFuture
(RetryingCallable<T> future, int rpcTimeout, int operationTimeout, int id) -
Method Summary
-
Field Details
-
future
-
result
-
exeEx
-
cancelled
-
operationTimeout
-
retryingCaller
-
resultObtained
-
replicaId
-
-
Constructor Details
-
QueueingFuture
-
-
Method Details
-
run
- Specified by:
run
in interfaceRunnable
- Specified by:
run
in interfaceRunnableFuture<T>
-
cancel
-
isCancelled
- Specified by:
isCancelled
in interfaceFuture<T>
-
isDone
-
get
- Specified by:
get
in interfaceFuture<T>
- Throws:
InterruptedException
ExecutionException
-
get
public T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
get
in interfaceFuture<T>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-
getReplicaId
-
getExeEx
-