@InterfaceAudience.Private public class AsyncRegionReplicationRetryingCaller extends AsyncRpcRetryingCaller<Void>
Modifier and Type | Field and Description |
---|---|
private WAL.Entry[] |
entries |
private RegionInfo |
replica |
private boolean |
useReplay |
conn, controller, future, operationTimeoutNs
Constructor and Description |
---|
AsyncRegionReplicationRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.HashedWheelTimer retryTimer,
AsyncClusterConnectionImpl conn,
int maxAttempts,
long rpcTimeoutNs,
long operationTimeoutNs,
RegionInfo replica,
List<WAL.Entry> entries) |
Modifier and Type | Method and Description |
---|---|
private void |
call(HRegionLocation loc) |
protected void |
doCall() |
private void |
onComplete(HRegionLocation loc) |
protected Throwable |
preProcessError(Throwable error) |
call, completeExceptionally, getTableName, onError, remainingTimeNs, resetCallTimeout
private final RegionInfo replica
private boolean useReplay
public AsyncRegionReplicationRetryingCaller(org.apache.hbase.thirdparty.io.netty.util.HashedWheelTimer retryTimer, AsyncClusterConnectionImpl conn, int maxAttempts, long rpcTimeoutNs, long operationTimeoutNs, RegionInfo replica, List<WAL.Entry> entries)
protected Throwable preProcessError(Throwable error)
preProcessError
in class AsyncRpcRetryingCaller<Void>
private void onComplete(HRegionLocation loc)
private void call(HRegionLocation loc)
protected void doCall()
doCall
in class AsyncRpcRetryingCaller<Void>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.