@InterfaceAudience.Public public class ReplicationPeerConfig extends Object
Constructor and Description |
---|
ReplicationPeerConfig()
Deprecated.
as release of 2.0.0, and it will be removed in 3.0.0. Use
ReplicationPeerConfigBuilder to create new ReplicationPeerConfig. |
@Deprecated public ReplicationPeerConfig()
ReplicationPeerConfigBuilder
to create new ReplicationPeerConfig.@Deprecated public ReplicationPeerConfig setClusterKey(String clusterKey)
ReplicationPeerConfigBuilder.setClusterKey(String)
instead.@Deprecated public ReplicationPeerConfig setReplicationEndpointImpl(String replicationEndpointImpl)
ReplicationPeerConfigBuilder.setReplicationEndpointImpl(String)
instead.replicationEndpointImpl
- a class implementing ReplicationEndpointpublic String getClusterKey()
public String getReplicationEndpointImpl()
public Map<byte[],byte[]> getPeerData()
@Deprecated public ReplicationPeerConfig setTableCFsMap(Map<TableName,? extends Collection<String>> tableCFsMap)
ReplicationPeerConfigBuilder.setTableCFsMap(Map)
instead.@Deprecated public ReplicationPeerConfig setNamespaces(Set<String> namespaces)
ReplicationPeerConfigBuilder.setNamespaces(Set)
instead.public long getBandwidth()
@Deprecated public ReplicationPeerConfig setBandwidth(long bandwidth)
ReplicationPeerConfigBuilder.setBandwidth(long)
instead.public boolean replicateAllUserTables()
@Deprecated public ReplicationPeerConfig setReplicateAllUserTables(boolean replicateAllUserTables)
ReplicationPeerConfigBuilder.setReplicateAllUserTables(boolean)
instead.@Deprecated public ReplicationPeerConfig setExcludeTableCFsMap(Map<TableName,? extends Collection<String>> tableCFsMap)
ReplicationPeerConfigBuilder.setExcludeTableCFsMap(Map)
instead.@Deprecated public ReplicationPeerConfig setExcludeNamespaces(Set<String> namespaces)
ReplicationPeerConfigBuilder.setExcludeNamespaces(Set)
instead.public static ReplicationPeerConfigBuilder newBuilder()
public boolean isSerial()
public static ReplicationPeerConfigBuilder newBuilder(ReplicationPeerConfig peerConfig)
public boolean needToReplicate(TableName table)
table
- name of the tableCopyright © 2007–2019 Cloudera. All rights reserved.