Package org.apache.hadoop.hbase.client
Class AsyncRpcRetryingCaller<T>
java.lang.Object
org.apache.hadoop.hbase.client.AsyncRpcRetryingCaller<T>
- Direct Known Subclasses:
 AsyncAdminRequestRetryingCaller,AsyncMasterRequestRpcRetryingCaller,AsyncServerRequestRpcRetryingCaller,AsyncSingleRequestRpcRetryingCaller
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AsyncConnectionImplprotected final HBaseRpcControllerprivate final List<RetriesExhaustedException.ThrowableWithExtraContext>protected final CompletableFuture<T>private static final org.slf4j.Loggerprivate final intprotected final longprivate final HBaseServerExceptionPauseManagerprivate final intprivate final org.apache.hbase.thirdparty.io.netty.util.Timerprivate final longprivate final intprivate final longprivate int - 
Constructor Summary
ConstructorsConstructorDescriptionAsyncRpcRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer, AsyncConnectionImpl conn, int priority, long pauseNs, long pauseNsForServerOverloaded, int maxAttempts, long operationTimeoutNs, long rpcTimeoutNs, int startLogErrorsCnt, Map<String, byte[]> requestAttributes)  - 
Method Summary
Modifier and TypeMethodDescription(package private) CompletableFuture<T>call()protected final voidprotected abstract voiddoCall()private longprotected final voidprotected final longprotected final voidprivate voidtryScheduleRetry(Throwable error)  
- 
Field Details
- 
LOG
 - 
retryTimer
 - 
priority
 - 
startNs
 - 
tries
 - 
maxAttempts
 - 
startLogErrorsCnt
 - 
exceptions
 - 
rpcTimeoutNs
 - 
operationTimeoutNs
 - 
conn
 - 
future
 - 
controller
 - 
pauseManager
 
 - 
 - 
Constructor Details
- 
AsyncRpcRetryingCaller
public AsyncRpcRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer, AsyncConnectionImpl conn, int priority, long pauseNs, long pauseNsForServerOverloaded, int maxAttempts, long operationTimeoutNs, long rpcTimeoutNs, int startLogErrorsCnt, Map<String, byte[]> requestAttributes)  
 - 
 - 
Method Details
- 
elapsedMs
 - 
remainingTimeNs
 - 
completeExceptionally
 - 
resetCallTimeout
 - 
tryScheduleRetry
 - 
getTableName
 - 
onError
 - 
doCall
 - 
call
 
 -