@InterfaceAudience.Private @InterfaceStability.Evolving protected abstract static class HBaseAdmin.TableFuture<V> extends HBaseAdmin.ProcedureFuture<V>
| 限定符和类型 | 类和说明 |
|---|---|
protected class |
HBaseAdmin.TableFuture.TableWaitForStateCallable |
HBaseAdmin.ProcedureFuture.WaitForStateCallableprocId| 构造器和说明 |
|---|
TableFuture(HBaseAdmin admin,
TableName tableName,
Long procId) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
getDescription() |
abstract String |
getOperationType() |
protected TableDescriptor |
getTableDescriptor() |
protected TableName |
getTableName() |
protected V |
postOperationFailure(IOException exception,
long deadlineTs)
Called after the operation is terminated with a failure.
|
protected V |
postOperationResult(V result,
long deadlineTs)
Called after the operation is completed and the result fetched. this allows to perform extra
steps after the procedure is completed. it allows to apply transformations to the result that
will be returned by get().
|
String |
toString() |
protected void |
waitForAllRegionsOnline(long deadlineTs,
byte[][] splitKeys) |
protected void |
waitForSchemaUpdate(long deadlineTs) |
protected void |
waitForTableDisabled(long deadlineTs) |
protected void |
waitForTableEnabled(long deadlineTs) |
protected void |
waitTableNotFound(long deadlineTs) |
abortProcedureResult, cancel, convertResult, get, get, getAdmin, getProcedureResult, isCancelled, isDone, waitForState, waitOperationResultpublic TableFuture(HBaseAdmin admin, TableName tableName, Long procId)
protected TableName getTableName()
protected TableDescriptor getTableDescriptor() throws IOException
IOExceptionpublic abstract String getOperationType()
protected String getDescription()
protected V postOperationResult(V result, long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuturepostOperationResult 在类中 HBaseAdmin.ProcedureFuture<V>result - the result of the proceduredeadlineTs - the timestamp after which this method should throw a TimeoutExceptionIOExceptionTimeoutExceptionprotected V postOperationFailure(IOException exception, long deadlineTs) throws IOException, TimeoutException
HBaseAdmin.ProcedureFuturepostOperationFailure 在类中 HBaseAdmin.ProcedureFuture<V>exception - the exception got from fetching the resultdeadlineTs - the timestamp after which this method should throw a TimeoutExceptionIOExceptionTimeoutExceptionprotected void waitForTableEnabled(long deadlineTs)
throws IOException,
TimeoutException
protected void waitForTableDisabled(long deadlineTs)
throws IOException,
TimeoutException
protected void waitTableNotFound(long deadlineTs)
throws IOException,
TimeoutException
protected void waitForSchemaUpdate(long deadlineTs)
throws IOException,
TimeoutException
protected void waitForAllRegionsOnline(long deadlineTs,
byte[][] splitKeys)
throws IOException,
TimeoutException
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.