org.apache.hadoop.hbase.regionserver
Interface ReplicationService

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

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.
 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.



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.