Package org.apache.hadoop.hbase.client
Class AsyncRpcRetryingCallerFactory.BatchCallerBuilder
java.lang.Object
org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory.BuilderBase
org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory.BatchCallerBuilder
- Enclosing class:
- AsyncRpcRetryingCallerFactory
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.AsyncRpcRetryingCallerFactory.BuilderBase
maxAttempts, pauseNs, pauseNsForServerOverloaded, startLogErrorsCnt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> AsyncBatchRpcRetryingCaller<T>
build()
<T> List<CompletableFuture<T>>
call()
maxAttempts
(int maxAttempts) operationTimeout
(long operationTimeout, TimeUnit unit) pauseForServerOverloaded
(long pause, TimeUnit unit) rpcTimeout
(long rpcTimeout, TimeUnit unit) setRequestAttributes
(Map<String, byte[]> requestAttributes) startLogErrorsCnt
(int startLogErrorsCnt)
-
Field Details
-
tableName
-
actions
-
operationTimeoutNs
-
rpcTimeoutNs
-
requestAttributes
-
-
Constructor Details
-
BatchCallerBuilder
public BatchCallerBuilder()
-
-
Method Details
-
table
-
actions
-
operationTimeout
public AsyncRpcRetryingCallerFactory.BatchCallerBuilder operationTimeout(long operationTimeout, TimeUnit unit) -
rpcTimeout
-
pause
-
pauseForServerOverloaded
public AsyncRpcRetryingCallerFactory.BatchCallerBuilder pauseForServerOverloaded(long pause, TimeUnit unit) -
maxAttempts
-
startLogErrorsCnt
-
setRequestAttributes
public AsyncRpcRetryingCallerFactory.BatchCallerBuilder setRequestAttributes(Map<String, byte[]> requestAttributes) -
build
-
call
-