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