org.apache.hadoop.hbase.replication
Class ReplicationQueueInfo

java.lang.Object
  extended by org.apache.hadoop.hbase.replication.ReplicationQueueInfo

public class ReplicationQueueInfo
extends Object

This class is responsible for the parsing logic for a znode representing a queue. It will extract the peerId if it's recovered as well as the dead region servers that were part of the queue's history.


Constructor Summary
ReplicationQueueInfo(String znode)
          The passed znode will be either the id of the peer cluster or the handling story of that queue in the form of id-servername-*
 
Method Summary
 List<String> getDeadRegionServers()
           
 String getPeerClusterZnode()
           
 String getPeerId()
           
 boolean isQueueRecovered()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationQueueInfo

public ReplicationQueueInfo(String znode)
The passed znode will be either the id of the peer cluster or the handling story of that queue in the form of id-servername-*

Method Detail

getDeadRegionServers

public List<String> getDeadRegionServers()

getPeerId

public String getPeerId()

getPeerClusterZnode

public String getPeerClusterZnode()

isQueueRecovered

public boolean isQueueRecovered()


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