@InterfaceAudience.Public @InterfaceStability.Evolving public class ReplicationPeerConfig extends Object
Constructor and Description |
---|
ReplicationPeerConfig() |
Modifier and Type | Method and Description |
---|---|
long |
getBandwidth() |
String |
getClusterKey() |
Map<String,String> |
getConfiguration() |
Map<byte[],byte[]> |
getPeerData() |
String |
getReplicationEndpointImpl() |
Map<TableName,List<String>> |
getTableCFsMap() |
ReplicationPeerConfig |
setBandwidth(long bandwidth) |
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.
|
void |
setTableCFsMap(Map<TableName,? extends Collection<String>> tableCFsMap) |
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()
public void setTableCFsMap(Map<TableName,? extends Collection<String>> tableCFsMap)
public long getBandwidth()
public ReplicationPeerConfig setBandwidth(long bandwidth)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.