|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Private public interface ReplicationQueuesClient
This provides an interface for clients of replication to view replication queues. These queues keep track of the HLogs that still need to be replicated to remote clusters.
Method Summary | |
---|---|
List<String> |
getAllQueues(String serverName)
Get a list of all queues for the specified region server. |
List<String> |
getListOfReplicators()
Get a list of all region servers that have outstanding replication queues. |
List<String> |
getLogsInQueue(String serverName,
String queueId)
Get a list of all HLogs in the given queue on the given region server. |
int |
getQueuesZNodeCversion()
Get the cversion of replication rs node. |
void |
init()
Initialize the replication queue client interface. |
Method Detail |
---|
void init() throws ReplicationException
ReplicationException
List<String> getListOfReplicators() throws org.apache.zookeeper.KeeperException
org.apache.zookeeper.KeeperException
- zookeeper exceptionList<String> getLogsInQueue(String serverName, String queueId) throws org.apache.zookeeper.KeeperException
serverName
- the server name of the region server that owns the queuequeueId
- a String that identifies the queue
org.apache.zookeeper.KeeperException
- zookeeper exceptionList<String> getAllQueues(String serverName) throws org.apache.zookeeper.KeeperException
serverName
- the server name of the region server that owns the set of queues
org.apache.zookeeper.KeeperException
int getQueuesZNodeCversion() throws org.apache.zookeeper.KeeperException
org.apache.zookeeper.KeeperException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |