public static class HBaseAdmin.TableBackupFuture extends HBaseAdmin.TableFuture<java.lang.String>
HBaseAdmin.TableFuture.TableWaitForStateCallableHBaseAdmin.ProcedureFuture.WaitForStateCallable| Constructor and Description |
|---|
TableBackupFuture(HBaseAdmin admin,
TableName tableName,
MasterProtos.BackupTablesResponse response) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
convertResult(MasterProtos.GetProcedureResultResponse response)
Convert the procedure result response to a specified type.
|
java.lang.String |
getOperationType() |
protected java.lang.String |
postOperationResult(java.lang.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 java.lang.String getOperationType()
getOperationType in class HBaseAdmin.TableFuture<java.lang.String>protected java.lang.String convertResult(MasterProtos.GetProcedureResultResponse response) throws java.io.IOException
HBaseAdmin.ProcedureFutureconvertResult in class HBaseAdmin.ProcedureFuture<java.lang.String>response - the procedure result object to parsejava.io.IOExceptionprotected java.lang.String postOperationResult(java.lang.String result,
long deadlineTs)
throws java.io.IOException,
java.util.concurrent.TimeoutException
HBaseAdmin.ProcedureFuturepostOperationResult in class HBaseAdmin.TableFuture<java.lang.String>result - the result of the proceduredeadlineTs - the timestamp after which this method should throw a TimeoutExceptionjava.io.IOExceptionjava.util.concurrent.TimeoutException