Package org.apache.hadoop.hbase.client
Class AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T>
java.lang.Object
org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory.BuilderBase
org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T>
- Enclosing class:
- AsyncRpcRetryingCallerFactory
public class AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<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
(AsyncAdminRequestRetryingCaller.Callable<T> callable) build()
call()
maxAttempts
(int maxAttempts) operationTimeout
(long operationTimeout, TimeUnit unit) pauseForServerOverloaded
(long pause, TimeUnit unit) priority
(int priority) rpcTimeout
(long rpcTimeout, TimeUnit unit) serverName
(ServerName serverName) startLogErrorsCnt
(int startLogErrorsCnt)
-
Field Details
-
callable
-
operationTimeoutNs
-
rpcTimeoutNs
-
serverName
-
priority
-
-
Constructor Details
-
AdminRequestCallerBuilder
public AdminRequestCallerBuilder()
-
-
Method Details
-
action
-
operationTimeout
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> operationTimeout(long operationTimeout, TimeUnit unit) -
rpcTimeout
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> rpcTimeout(long rpcTimeout, TimeUnit unit) -
pause
-
pauseForServerOverloaded
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> pauseForServerOverloaded(long pause, TimeUnit unit) -
maxAttempts
-
startLogErrorsCnt
public AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder<T> startLogErrorsCnt(int startLogErrorsCnt) -
serverName
-
priority
-
build
-
call
-