org.apache.hadoop.hbase.replication
Class ReplicationFactory

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

public class ReplicationFactory
extends Object

A factory class for instantiating replication objects that deal with replication state.


Constructor Summary
ReplicationFactory()
           
 
Method Summary
static ReplicationPeers getReplicationPeers(ZooKeeperWatcher zk, org.apache.hadoop.conf.Configuration conf, Abortable abortable)
           
static ReplicationQueues getReplicationQueues(ZooKeeperWatcher zk, org.apache.hadoop.conf.Configuration conf, Abortable abortable)
           
static ReplicationQueuesClient getReplicationQueuesClient(ZooKeeperWatcher zk, org.apache.hadoop.conf.Configuration conf, Abortable abortable)
           
static ReplicationTracker getReplicationTracker(ZooKeeperWatcher zookeeper, ReplicationPeers replicationPeers, org.apache.hadoop.conf.Configuration conf, Abortable abortable, Stoppable stopper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationFactory

public ReplicationFactory()
Method Detail

getReplicationQueues

public static ReplicationQueues getReplicationQueues(ZooKeeperWatcher zk,
                                                     org.apache.hadoop.conf.Configuration conf,
                                                     Abortable abortable)

getReplicationQueuesClient

public static ReplicationQueuesClient getReplicationQueuesClient(ZooKeeperWatcher zk,
                                                                 org.apache.hadoop.conf.Configuration conf,
                                                                 Abortable abortable)

getReplicationPeers

public static ReplicationPeers getReplicationPeers(ZooKeeperWatcher zk,
                                                   org.apache.hadoop.conf.Configuration conf,
                                                   Abortable abortable)

getReplicationTracker

public static ReplicationTracker getReplicationTracker(ZooKeeperWatcher zookeeper,
                                                       ReplicationPeers replicationPeers,
                                                       org.apache.hadoop.conf.Configuration conf,
                                                       Abortable abortable,
                                                       Stoppable stopper)


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