@InterfaceAudience.Private public abstract class AsyncRpcRetryingCaller<T> extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.hadoop.hbase.client.AsyncConnectionImpl |
conn |
protected HBaseRpcController |
controller |
protected CompletableFuture<T> |
future |
protected long |
operationTimeoutNs |
| 构造器和说明 |
|---|
AsyncRpcRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.HashedWheelTimer retryTimer,
org.apache.hadoop.hbase.client.AsyncConnectionImpl conn,
long pauseNs,
int maxAttempts,
long operationTimeoutNs,
long rpcTimeoutNs,
int startLogErrorsCnt) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
completeExceptionally() |
protected abstract void |
doCall() |
protected void |
onError(Throwable error,
Supplier<String> errMsg,
Consumer<Throwable> updateCachedLocation) |
protected long |
remainingTimeNs() |
protected void |
resetCallTimeout() |
protected final long operationTimeoutNs
protected final org.apache.hadoop.hbase.client.AsyncConnectionImpl conn
protected final CompletableFuture<T> future
protected final HBaseRpcController controller
public AsyncRpcRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.HashedWheelTimer retryTimer,
org.apache.hadoop.hbase.client.AsyncConnectionImpl conn,
long pauseNs,
int maxAttempts,
long operationTimeoutNs,
long rpcTimeoutNs,
int startLogErrorsCnt)
protected long remainingTimeNs()
protected void completeExceptionally()
protected void resetCallTimeout()
protected void onError(Throwable error, Supplier<String> errMsg, Consumer<Throwable> updateCachedLocation)
protected abstract void doCall()
Copyright © 2007–2019. All rights reserved.