@InterfaceAudience.Public @InterfaceStability.Evolving public class ReplicationPeerConfig extends Object
Modifier and Type | Field and Description |
---|---|
private String |
clusterKey |
private Map<String,String> |
configuration |
private Map<byte[],byte[]> |
peerData |
private String |
replicationEndpointImpl |
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() |
private String clusterKey
private String replicationEndpointImpl
private final Map<byte[],byte[]> peerData
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–2019 The Apache Software Foundation. All rights reserved.