@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.Timer retryTimer,
org.apache.hadoop.hbase.client.AsyncConnectionImpl conn,
int priority,
long pauseNs,
long pauseForCQTBENs,
int maxAttempts,
long operationTimeoutNs,
long rpcTimeoutNs,
int startLogErrorsCnt) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
completeExceptionally() |
protected abstract void |
doCall() |
protected Optional<TableName> |
getTableName() |
protected void |
onError(Throwable t,
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.Timer retryTimer, org.apache.hadoop.hbase.client.AsyncConnectionImpl conn, int priority, long pauseNs, long pauseForCQTBENs, int maxAttempts, long operationTimeoutNs, long rpcTimeoutNs, int startLogErrorsCnt)
protected final long remainingTimeNs()
protected final void completeExceptionally()
protected final void resetCallTimeout()
protected final void onError(Throwable t, Supplier<String> errMsg, Consumer<Throwable> updateCachedLocation)
protected abstract void doCall()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.