Package org.apache.hadoop.hbase.client
Class AsyncRegionReplicationRetryingCaller
java.lang.Object
org.apache.hadoop.hbase.client.AsyncRpcRetryingCaller<Void>
org.apache.hadoop.hbase.client.AsyncRegionReplicationRetryingCaller
For replicating edits to secondary replicas.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final WAL.Entry[]
private final RegionInfo
private boolean
Fields inherited from class org.apache.hadoop.hbase.client.AsyncRpcRetryingCaller
conn, controller, future, operationTimeoutNs
-
Constructor Summary
ConstructorDescriptionAsyncRegionReplicationRetryingCaller
(org.apache.hbase.thirdparty.io.netty.util.HashedWheelTimer retryTimer, AsyncClusterConnectionImpl conn, int maxAttempts, long rpcTimeoutNs, long operationTimeoutNs, RegionInfo replica, List<WAL.Entry> entries) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
call
(HRegionLocation loc) protected void
doCall()
private void
protected Throwable
preProcessError
(Throwable error) Methods inherited from class org.apache.hadoop.hbase.client.AsyncRpcRetryingCaller
call, completeExceptionally, getTableName, onError, remainingTimeNs, resetCallTimeout
-
Field Details
-
replica
-
entries
-
useReplay
-
-
Constructor Details
-
AsyncRegionReplicationRetryingCaller
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)
-
-
Method Details
-
preProcessError
- Overrides:
preProcessError
in classAsyncRpcRetryingCaller<Void>
-
onComplete
-
call
-
doCall
- Specified by:
doCall
in classAsyncRpcRetryingCaller<Void>
-