Package org.apache.hadoop.hbase.client
Class AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T>
java.lang.Object
org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory.BuilderBase
org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T>
- Enclosing class:
- AsyncRpcRetryingCallerFactory
public class AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T>
extends AsyncRpcRetryingCallerFactory.BuilderBase
-
Field Summary
Modifier and TypeFieldDescriptionprivate RegionLocateType
private long
private int
private int
private byte[]
private long
private TableName
Fields inherited from class org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory.BuilderBase
maxAttempts, pauseNs, pauseNsForServerOverloaded, startLogErrorsCnt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaction
(AsyncSingleRequestRpcRetryingCaller.Callable<T> callable) build()
call()
Shortcut forbuild().call()
locateType
(RegionLocateType locateType) maxAttempts
(int maxAttempts) operationTimeout
(long operationTimeout, TimeUnit unit) pauseForServerOverloaded
(long pause, TimeUnit unit) private void
preCheck()
priority
(int priority) replicaId
(int replicaId) row
(byte[] row) rpcTimeout
(long rpcTimeout, TimeUnit unit) setRequestAttributes
(Map<String, byte[]> requestAttributes) startLogErrorsCnt
(int startLogErrorsCnt)
-
Field Details
-
tableName
-
row
-
callable
-
operationTimeoutNs
-
rpcTimeoutNs
-
locateType
-
replicaId
-
priority
-
requestAttributes
-
-
Constructor Details
-
SingleRequestCallerBuilder
public SingleRequestCallerBuilder()
-
-
Method Details
-
table
-
row
-
action
-
operationTimeout
public AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T> operationTimeout(long operationTimeout, TimeUnit unit) -
rpcTimeout
public AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T> rpcTimeout(long rpcTimeout, TimeUnit unit) -
locateType
public AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T> locateType(RegionLocateType locateType) -
pause
-
pauseForServerOverloaded
public AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T> pauseForServerOverloaded(long pause, TimeUnit unit) -
maxAttempts
-
startLogErrorsCnt
public AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T> startLogErrorsCnt(int startLogErrorsCnt) -
replicaId
-
priority
-
setRequestAttributes
public AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder<T> setRequestAttributes(Map<String, byte[]> requestAttributes) -
preCheck
-
build
-
call
Shortcut forbuild().call()
-