public static class HBaseAdmin.TableBackupFuture extends HBaseAdmin.TableFuture<String>
HBaseAdmin.TableFuture.TableWaitForStateCallable
HBaseAdmin.ProcedureFuture.WaitForStateCallable
Constructor and Description |
---|
TableBackupFuture(HBaseAdmin admin,
TableName tableName,
MasterProtos.BackupTablesResponse response) |
Modifier and Type | Method and Description |
---|---|
protected String |
convertResult(MasterProtos.GetProcedureResultResponse response)
Convert the procedure result response to a specified type.
|
String |
getOperationType() |
protected String |
postOperationResult(String result,
long deadlineTs)
Called after the operation is completed and the result fetched.
|
getDescription, getTableDescriptor, getTableName, postOperationFailure, toString, waitForAllRegionsOnline, waitForSchemaUpdate, waitForTableDisabled, waitForTableEnabled, waitTableNotFound
abortProcedureResult, cancel, get, get, getAdmin, getProcedureResult, isCancelled, isDone, postOpeartionFailure, waitForState, waitOperationResult
public TableBackupFuture(HBaseAdmin admin, TableName tableName, MasterProtos.BackupTablesResponse response)
public String getOperationType()
getOperationType
in class HBaseAdmin.TableFuture<String>
protected String convertResult(MasterProtos.GetProcedureResultResponse response) throws IOException
HBaseAdmin.ProcedureFuture
convertResult
in class HBaseAdmin.ProcedureFuture<String>
response
- the procedure result object to parseIOException
protected String postOperationResult(String result, long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuture
postOperationResult
in class HBaseAdmin.TableFuture<String>
result
- the result of the proceduredeadlineTs
- the timestamp after which this method should throw a TimeoutExceptionIOException
TimeoutException