public interface ReplicationService
HRegionServer. One such application is a
cross-datacenter replication service that can keep two hbase clusters in sync.| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Server rs,
FileSystem fs,
Path logdir,
Path oldLogDir,
WALProvider walProvider)
Initializes the replication service object.
|
ReplicationLoad |
refreshAndGetReplicationLoad()
Refresh and Get ReplicationLoad
|
void |
startReplicationService()
Start replication services.
|
void |
stopReplicationService()
Stops replication service.
|
void initialize(Server rs, FileSystem fs, Path logdir, Path oldLogDir, WALProvider walProvider) throws java.io.IOException
walProvider - can be null if not initialized inside a live region server environment, for
example, ReplicationSyncUp.java.io.IOExceptionvoid startReplicationService()
throws java.io.IOException
java.io.IOExceptionvoid stopReplicationService()
ReplicationLoad refreshAndGetReplicationLoad()