@InterfaceAudience.Private public final class ReplicationStorageFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static ReplicationPeerStorageType |
DEFAULT_REPLICATION_PEER_STORAGE_IMPL |
static String |
REPLICATION_PEER_STORAGE_IMPL |
| Modifier and Type | Method and Description |
|---|---|
static ReplicationPeerStorage |
getReplicationPeerStorage(org.apache.hadoop.fs.FileSystem fs,
ZKWatcher zk,
org.apache.hadoop.conf.Configuration conf)
Create a new
ReplicationPeerStorage. |
static ReplicationQueueStorage |
getReplicationQueueStorage(ZKWatcher zk,
org.apache.hadoop.conf.Configuration conf)
Create a new
ReplicationQueueStorage. |
public static final String REPLICATION_PEER_STORAGE_IMPL
public static final ReplicationPeerStorageType DEFAULT_REPLICATION_PEER_STORAGE_IMPL
public static ReplicationPeerStorage getReplicationPeerStorage(org.apache.hadoop.fs.FileSystem fs, ZKWatcher zk, org.apache.hadoop.conf.Configuration conf)
ReplicationPeerStorage.public static ReplicationQueueStorage getReplicationQueueStorage(ZKWatcher zk, org.apache.hadoop.conf.Configuration conf)
ReplicationQueueStorage.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.