Package org.apache.hadoop.hbase.client
Class AsyncMasterRequestRpcRetryingCaller<T>
java.lang.Object
org.apache.hadoop.hbase.client.AsyncRpcRetryingCaller<T>
org.apache.hadoop.hbase.client.AsyncMasterRequestRpcRetryingCaller<T>
Retry caller for a request call to master.
- Since:
- 2.0.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.AsyncRpcRetryingCaller
conn, controller, future, operationTimeoutNs
-
Constructor Summary
ConstructorDescriptionAsyncMasterRequestRpcRetryingCaller
(org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer, AsyncConnectionImpl conn, AsyncMasterRequestRpcRetryingCaller.Callable<T> callable, int priority, long pauseNs, long pauseNsForServerOverloaded, int maxRetries, long operationTimeoutNs, long rpcTimeoutNs, int startLogErrorsCnt) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
clearMasterStubCacheOnError
(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.Interface stub, Throwable error) protected void
doCall()
Methods inherited from class org.apache.hadoop.hbase.client.AsyncRpcRetryingCaller
call, completeExceptionally, getTableName, onError, remainingTimeNs, resetCallTimeout
-
Field Details
-
callable
-
-
Constructor Details
-
AsyncMasterRequestRpcRetryingCaller
public AsyncMasterRequestRpcRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer, AsyncConnectionImpl conn, AsyncMasterRequestRpcRetryingCaller.Callable<T> callable, int priority, long pauseNs, long pauseNsForServerOverloaded, int maxRetries, long operationTimeoutNs, long rpcTimeoutNs, int startLogErrorsCnt)
-
-
Method Details
-
clearMasterStubCacheOnError
private void clearMasterStubCacheOnError(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.Interface stub, Throwable error) -
doCall
- Specified by:
doCall
in classAsyncRpcRetryingCaller<T>
-