private static class HBaseAdmin.DeleteTableFuture extends HBaseAdmin.ProcedureFuture<Void>
HBaseAdmin.ProcedureFuture.WaitForStateCallable| Constructor and Description |
|---|
HBaseAdmin.DeleteTableFuture(HBaseAdmin admin,
TableName tableName,
org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteTableResponse response) |
| Modifier and Type | Method and Description |
|---|---|
protected Void |
postOperationResult(Void result,
long deadlineTs)
Called after the operation is completed and the result fetched.
|
protected Void |
waitOperationResult(long deadlineTs)
Fallback implementation in case the procedure is not supported by the server.
|
private void |
waitTableNotFound(long deadlineTs) |
abortProcedureResult, cancel, convertResult, get, get, getAdmin, getProcedureResult, isCancelled, isDone, postOpeartionFailure, waitForStateprivate final TableName tableName
public HBaseAdmin.DeleteTableFuture(HBaseAdmin admin, TableName tableName, org.apache.hadoop.hbase.protobuf.generated.MasterProtos.DeleteTableResponse response)
protected Void waitOperationResult(long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuturewaitOperationResult in class HBaseAdmin.ProcedureFuture<Void>deadlineTs - the timestamp after which this method should throw a TimeoutExceptionIOExceptionTimeoutExceptionprotected Void postOperationResult(Void result, long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuturepostOperationResult in class HBaseAdmin.ProcedureFuture<Void>result - the result of the proceduredeadlineTs - the timestamp after which this method should throw a TimeoutExceptionIOExceptionTimeoutExceptionprivate void waitTableNotFound(long deadlineTs)
throws IOException,
TimeoutException
IOExceptionTimeoutExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.