@InterfaceAudience.Private public class ReplicationFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static Class |
defaultReplicationQueueClass |
| Constructor and Description |
|---|
ReplicationFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ReplicationPeers |
getReplicationPeers(ZooKeeperWatcher zk,
org.apache.hadoop.conf.Configuration conf,
Abortable abortable) |
static ReplicationPeers |
getReplicationPeers(ZooKeeperWatcher zk,
org.apache.hadoop.conf.Configuration conf,
ReplicationQueuesClient queuesClient,
Abortable abortable) |
static ReplicationQueues |
getReplicationQueues(ReplicationQueuesArguments args) |
static ReplicationQueuesClient |
getReplicationQueuesClient(ReplicationQueuesClientArguments args) |
static ReplicationTracker |
getReplicationTracker(ZooKeeperWatcher zookeeper,
ReplicationPeers replicationPeers,
org.apache.hadoop.conf.Configuration conf,
Abortable abortable,
Stoppable stopper) |
public static final Class defaultReplicationQueueClass
public static ReplicationQueues getReplicationQueues(ReplicationQueuesArguments args) throws Exception
Exceptionpublic static ReplicationQueuesClient getReplicationQueuesClient(ReplicationQueuesClientArguments args) throws Exception
Exceptionpublic static ReplicationPeers getReplicationPeers(ZooKeeperWatcher zk, org.apache.hadoop.conf.Configuration conf, Abortable abortable)
public static ReplicationPeers getReplicationPeers(ZooKeeperWatcher zk, org.apache.hadoop.conf.Configuration conf, ReplicationQueuesClient queuesClient, Abortable abortable)
public static ReplicationTracker getReplicationTracker(ZooKeeperWatcher zookeeper, ReplicationPeers replicationPeers, org.apache.hadoop.conf.Configuration conf, Abortable abortable, Stoppable stopper)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.