@InterfaceAudience.Public @InterfaceStability.Evolving public class ReplicationPeerConfig extends Object
Constructor and Description |
---|
ReplicationPeerConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getClusterKey() |
Map<String,String> |
getConfiguration() |
Map<byte[],byte[]> |
getPeerData() |
String |
getReplicationEndpointImpl() |
ReplicationPeerConfig |
setClusterKey(String clusterKey)
Set the clusterKey which is the concatenation of the slave cluster's:
hbase.zookeeper.quorum:hbase.zookeeper.property.clientPort:zookeeper.znode.parent
|
ReplicationPeerConfig |
setReplicationEndpointImpl(String replicationEndpointImpl)
Sets the ReplicationEndpoint plugin class for this peer.
|
String |
toString() |
public ReplicationPeerConfig setClusterKey(String clusterKey)
public ReplicationPeerConfig setReplicationEndpointImpl(String replicationEndpointImpl)
replicationEndpointImpl
- a class implementing ReplicationEndpointpublic String getClusterKey()
public String getReplicationEndpointImpl()
public Map<byte[],byte[]> getPeerData()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.