Interface ReplicationService
- All Known Subinterfaces:
ReplicationSinkService,ReplicationSourceService
- All Known Implementing Classes:
Replication,ReplicationSinkServiceImpl
Gateway to Cluster Replication. Used by
HRegionServer. One such application is a
cross-datacenter replication service that can keep two hbase clusters in sync.-
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(Server rs, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path logdir, org.apache.hadoop.fs.Path oldLogDir, WALFactory walFactory) Initializes the replication service object.Refresh and Get ReplicationLoadvoidStart replication services.voidStops replication service.
-
Method Details
-
initialize
void initialize(Server rs, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path logdir, org.apache.hadoop.fs.Path oldLogDir, WALFactory walFactory) throws IOException Initializes the replication service object.- Throws:
IOException
-
startReplicationService
Start replication services.- Throws:
IOException
-
stopReplicationService
void stopReplicationService()Stops replication service. -
refreshAndGetReplicationLoad
Refresh and Get ReplicationLoad
-