Package org.apache.hadoop.hbase.client
Class AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder<T>
java.lang.Object
org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory.BuilderBase
org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder<T>
- Enclosing class:
- AsyncRpcRetryingCallerFactory
public class AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder<T>
extends AsyncRpcRetryingCallerFactory.BuilderBase
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory.BuilderBase
maxAttempts, pauseNs, pauseNsForServerOverloaded, startLogErrorsCnt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaction
(AsyncServerRequestRpcRetryingCaller.Callable<T> callable) build()
call()
maxAttempts
(int maxAttempts) operationTimeout
(long operationTimeout, TimeUnit unit) pauseForServerOverloaded
(long pause, TimeUnit unit) rpcTimeout
(long rpcTimeout, TimeUnit unit) serverName
(ServerName serverName) startLogErrorsCnt
(int startLogErrorsCnt)
-
Field Details
-
callable
-
operationTimeoutNs
-
rpcTimeoutNs
-
serverName
-
-
Constructor Details
-
ServerRequestCallerBuilder
public ServerRequestCallerBuilder()
-
-
Method Details
-
action
-
operationTimeout
public AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder<T> operationTimeout(long operationTimeout, TimeUnit unit) -
rpcTimeout
public AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder<T> rpcTimeout(long rpcTimeout, TimeUnit unit) -
pause
-
pauseForServerOverloaded
public AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder<T> pauseForServerOverloaded(long pause, TimeUnit unit) -
maxAttempts
-
startLogErrorsCnt
public AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder<T> startLogErrorsCnt(int startLogErrorsCnt) -
serverName
public AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder<T> serverName(ServerName serverName) -
build
-
call
-