Class ProcedureSyncWait.ProcedureFuture
java.lang.Object
org.apache.hadoop.hbase.master.procedure.ProcedureSyncWait.ProcedureFuture
- All Implemented Interfaces:
Future<byte[]>
- Enclosing class:
- ProcedureSyncWait
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private final Procedure<?>
private final ProcedureExecutor<MasterProcedureEnv>
private byte[]
-
Constructor Summary
ConstructorDescriptionProcedureFuture
(ProcedureExecutor<MasterProcedureEnv> procExec, Procedure<?> proc) -
Method Summary
-
Field Details
-
procExec
-
proc
-
hasResult
-
result
-
-
Constructor Details
-
ProcedureFuture
-
-
Method Details
-
cancel
-
isCancelled
- Specified by:
isCancelled
in interfaceFuture<byte[]>
-
isDone
-
get
- Specified by:
get
in interfaceFuture<byte[]>
- Throws:
InterruptedException
ExecutionException
-
get
public byte[] get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
get
in interfaceFuture<byte[]>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-