public static class HBaseAdmin.TableBackupFuture extends HBaseAdmin.TableFuture<String>
HBaseAdmin.TableFuture.TableWaitForStateCallableHBaseAdmin.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, waitTableNotFoundabortProcedureResult, cancel, get, get, getAdmin, getProcedureResult, isCancelled, isDone, postOpeartionFailure, waitForState, waitOperationResultpublic 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.ProcedureFutureconvertResult in class HBaseAdmin.ProcedureFuture<String>response - the procedure result object to parseIOExceptionprotected String postOperationResult(String result, long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuturepostOperationResult in class HBaseAdmin.TableFuture<String>result - the result of the proceduredeadlineTs - the timestamp after which this method should throw a TimeoutExceptionIOExceptionTimeoutException