Class ReplicationStorageFactory
java.lang.Object
org.apache.hadoop.hbase.replication.ReplicationStorageFactory
Used to create replication storage(peer, queue) classes.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReplicationPeerStorage
getReplicationPeerStorage
(org.apache.hadoop.fs.FileSystem fs, ZKWatcher zk, org.apache.hadoop.conf.Configuration conf) Create a newReplicationPeerStorage
.private static Class<? extends ReplicationPeerStorage>
getReplicationPeerStorageClass
(org.apache.hadoop.conf.Configuration conf) static ReplicationQueueStorage
getReplicationQueueStorage
(ZKWatcher zk, org.apache.hadoop.conf.Configuration conf) Create a newReplicationQueueStorage
.
-
Field Details
-
REPLICATION_PEER_STORAGE_IMPL
- See Also:
-
DEFAULT_REPLICATION_PEER_STORAGE_IMPL
-
-
Constructor Details
-
ReplicationStorageFactory
private ReplicationStorageFactory()
-
-
Method Details
-
getReplicationPeerStorageClass
private static Class<? extends ReplicationPeerStorage> getReplicationPeerStorageClass(org.apache.hadoop.conf.Configuration conf) -
getReplicationPeerStorage
public static ReplicationPeerStorage getReplicationPeerStorage(org.apache.hadoop.fs.FileSystem fs, ZKWatcher zk, org.apache.hadoop.conf.Configuration conf) Create a newReplicationPeerStorage
. -
getReplicationQueueStorage
public static ReplicationQueueStorage getReplicationQueueStorage(ZKWatcher zk, org.apache.hadoop.conf.Configuration conf) Create a newReplicationQueueStorage
.
-