static class RegionReplicaReplicationEndpoint.RegionReplicaSinkWriter extends WALSplitter.SinkWriter
Modifier and Type | Field and Description |
---|---|
(package private) ClusterConnection |
connection |
(package private) com.google.common.cache.Cache<TableName,Boolean> |
disabledAndDroppedTables |
(package private) int |
operationTimeout |
(package private) ExecutorService |
pool |
(package private) RpcControllerFactory |
rpcControllerFactory |
(package private) RpcRetryingCallerFactory |
rpcRetryingCallerFactory |
(package private) RegionReplicaReplicationEndpoint.RegionReplicaOutputSink |
sink |
(package private) TableDescriptors |
tableDescriptors |
Constructor and Description |
---|
RegionReplicaReplicationEndpoint.RegionReplicaSinkWriter(RegionReplicaReplicationEndpoint.RegionReplicaOutputSink sink,
ClusterConnection connection,
ExecutorService pool,
int operationTimeout,
TableDescriptors tableDescriptors) |
ClusterConnection connection
RpcControllerFactory rpcControllerFactory
RpcRetryingCallerFactory rpcRetryingCallerFactory
int operationTimeout
ExecutorService pool
TableDescriptors tableDescriptors
public RegionReplicaReplicationEndpoint.RegionReplicaSinkWriter(RegionReplicaReplicationEndpoint.RegionReplicaOutputSink sink, ClusterConnection connection, ExecutorService pool, int operationTimeout, TableDescriptors tableDescriptors)
public void append(TableName tableName, byte[] encodedRegionName, byte[] row, List<WAL.Entry> entries) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.