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
FieldsModifier and TypeFieldDescriptionprivate final WAL.Entry[]private final RegionInfoprivate booleanFields inherited from class org.apache.hadoop.hbase.client.AsyncRpcRetryingCaller
conn, controller, future, operationTimeoutNs -
Constructor Summary
ConstructorsConstructorDescriptionAsyncRegionReplicationRetryingCaller(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 voidcall(HRegionLocation loc) protected voiddoCall()private voidprotected ThrowablepreProcessError(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:
preProcessErrorin classAsyncRpcRetryingCaller<Void>
-
onComplete
-
call
-
doCall
- Specified by:
doCallin classAsyncRpcRetryingCaller<Void>
-