org.apache.hadoop.hbase.regionserver
Interface ReplicationSinkService

All Superinterfaces:
ReplicationService
All Known Implementing Classes:
Replication

@InterfaceAudience.Private
public interface ReplicationSinkService
extends ReplicationService

A sink for a replication stream has to expose this service. This service allows an application to hook into the regionserver and behave as a replication sink.


Method Summary
 void replicateLogEntries(List<AdminProtos.WALEntry> entries, CellScanner cells)
          Carry on the list of log entries down to the sink
 
Methods inherited from interface org.apache.hadoop.hbase.regionserver.ReplicationService
initialize, refreshAndGetReplicationLoad, startReplicationService, stopReplicationService
 

Method Detail

replicateLogEntries

void replicateLogEntries(List<AdminProtos.WALEntry> entries,
                         CellScanner cells)
                         throws IOException
Carry on the list of log entries down to the sink

Parameters:
entries - list of WALEntries to replicate
cells - Cells that the WALEntries refer to (if cells is non-null)
Throws:
IOException


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.