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, waitForState
private 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.ProcedureFuture
waitOperationResult
in class HBaseAdmin.ProcedureFuture<Void>
deadlineTs
- the timestamp after which this method should throw a TimeoutExceptionIOException
TimeoutException
protected Void postOperationResult(Void result, long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuture
postOperationResult
in class HBaseAdmin.ProcedureFuture<Void>
result
- the result of the proceduredeadlineTs
- the timestamp after which this method should throw a TimeoutExceptionIOException
TimeoutException
private void waitTableNotFound(long deadlineTs) throws IOException, TimeoutException
IOException
TimeoutException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.