@InterfaceAudience.Private class AsyncSingleRequestRpcRetryingCaller<T> extends AsyncRpcRetryingCaller<T>
Modifier and Type | Class and Description |
---|---|
static interface |
AsyncSingleRequestRpcRetryingCaller.Callable<T> |
Modifier and Type | Field and Description |
---|---|
private AsyncSingleRequestRpcRetryingCaller.Callable<T> |
callable |
private RegionLocateType |
locateType |
private int |
replicaId |
private byte[] |
row |
private TableName |
tableName |
conn, controller, future, operationTimeoutNs
Constructor and Description |
---|
AsyncSingleRequestRpcRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer,
AsyncConnectionImpl conn,
TableName tableName,
byte[] row,
int replicaId,
RegionLocateType locateType,
AsyncSingleRequestRpcRetryingCaller.Callable<T> callable,
long pauseNs,
int maxAttempts,
long operationTimeoutNs,
long rpcTimeoutNs,
int startLogErrorsCnt) |
Modifier and Type | Method and Description |
---|---|
private void |
call(HRegionLocation loc) |
protected void |
doCall() |
protected Optional<TableName> |
getTableName() |
call, completeExceptionally, onError, remainingTimeNs, resetCallTimeout
private final byte[] row
private final int replicaId
private final RegionLocateType locateType
private final AsyncSingleRequestRpcRetryingCaller.Callable<T> callable
public AsyncSingleRequestRpcRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.Timer retryTimer, AsyncConnectionImpl conn, TableName tableName, byte[] row, int replicaId, RegionLocateType locateType, AsyncSingleRequestRpcRetryingCaller.Callable<T> callable, long pauseNs, int maxAttempts, long operationTimeoutNs, long rpcTimeoutNs, int startLogErrorsCnt)
private void call(HRegionLocation loc)
protected void doCall()
doCall
in class AsyncRpcRetryingCaller<T>
protected Optional<TableName> getTableName()
getTableName
in class AsyncRpcRetryingCaller<T>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.