if (this.peerClusters.size() == 0) {
return new ArrayList<HServerAddress>(0);
}
ZooKeeperWrapper zkw = this.peerClusters.get(peerClusterId);
return zkw == null?
new ArrayList<HServerAddress>(0) : zkw.scanRSDirectory();
}
/**
* This method connects this cluster to another one and registers it
* in this region server's replication znode