Package org.apache.hadoop.hbase.client
Class AsyncServerRequestRpcRetryingCaller<T>
java.lang.Object
org.apache.hadoop.hbase.client.AsyncRpcRetryingCaller<T>
org.apache.hadoop.hbase.client.AsyncServerRequestRpcRetryingCaller<T>
Retry caller for a request call to region server. Now only used for coprocessor call to region
server.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AsyncServerRequestRpcRetryingCaller.Callable<T>
private ServerName
Fields inherited from class org.apache.hadoop.hbase.client.AsyncRpcRetryingCaller
conn, controller, future, operationTimeoutNs
-
Constructor Summary
ConstructorDescriptionAsyncServerRequestRpcRetryingCaller
(org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer, AsyncConnectionImpl conn, long pauseNs, long pauseNsForServerOverloaded, int maxAttempts, long operationTimeoutNs, long rpcTimeoutNs, int startLogErrorsCnt, ServerName serverName, AsyncServerRequestRpcRetryingCaller.Callable<T> callable) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.client.AsyncRpcRetryingCaller
call, completeExceptionally, getTableName, onError, remainingTimeNs, resetCallTimeout
-
Field Details
-
callable
-
serverName
-
-
Constructor Details
-
AsyncServerRequestRpcRetryingCaller
public AsyncServerRequestRpcRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer, AsyncConnectionImpl conn, long pauseNs, long pauseNsForServerOverloaded, int maxAttempts, long operationTimeoutNs, long rpcTimeoutNs, int startLogErrorsCnt, ServerName serverName, AsyncServerRequestRpcRetryingCaller.Callable<T> callable)
-
-
Method Details
-
doCall
- Specified by:
doCall
in classAsyncRpcRetryingCaller<T>
-