org.apache.hadoop.hbase.regionserver
Interface ReplicationService

All Known Subinterfaces:
ReplicationSinkService, ReplicationSourceService
All Known Implementing Classes:
Replication

@InterfaceAudience.Private
public interface ReplicationService

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
 void initialize(Server rs, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path logdir, org.apache.hadoop.fs.Path oldLogDir)
          Initializes the replication service object.
 ReplicationLoad refreshAndGetReplicationLoad()
          Refresh and Get ReplicationLoad
 void startReplicationService()
          Start replication services.
 void stopReplicationService()
          Stops replication service.
 

Method Detail

initialize

void initialize(Server rs,
                org.apache.hadoop.fs.FileSystem fs,
                org.apache.hadoop.fs.Path logdir,
                org.apache.hadoop.fs.Path oldLogDir)
                throws IOException
Initializes the replication service object.

Throws:
IOException

startReplicationService

void startReplicationService()
                             throws IOException
Start replication services.

Throws:
IOException

stopReplicationService

void stopReplicationService()
Stops replication service.


refreshAndGetReplicationLoad

ReplicationLoad refreshAndGetReplicationLoad()
Refresh and Get ReplicationLoad



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