Class BatchWriterReplicationReplayer
- java.lang.Object
-
- org.apache.accumulo.tserver.replication.BatchWriterReplicationReplayer
-
- All Implemented Interfaces:
AccumuloReplicationReplayer
public class BatchWriterReplicationReplayer extends Object implements AccumuloReplicationReplayer
Use a BatchWriter to replay WAL entries to an Accumulo table. This assumes that all WAL entries are for this table. Pruning out undesired entries is expected to be done by the sender.
-
-
Constructor Summary
Constructors Constructor Description BatchWriterReplicationReplayer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longreplicateLog(ClientContext context, String tableName, WalEdits data)
-
-
-
Method Detail
-
replicateLog
public long replicateLog(ClientContext context, String tableName, WalEdits data) throws RemoteReplicationException
- Specified by:
replicateLogin interfaceAccumuloReplicationReplayer- Throws:
RemoteReplicationException
-
-