@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. |
| Modifier and Type | Method and Description |
|---|---|
long |
getBandwidth() |
String |
getClusterKey() |
Map<String,String> |
getConfiguration() |
Set<String> |
getExcludeNamespaces() |
Map<org.apache.hadoop.hbase.TableName,List<String>> |
getExcludeTableCFsMap() |
Set<String> |
getNamespaces() |
Map<byte[],byte[]> |
getPeerData() |
String |
getReplicationEndpointImpl() |
Map<org.apache.hadoop.hbase.TableName,List<String>> |
getTableCFsMap() |
boolean |
isSerial() |
boolean |
needToReplicate(org.apache.hadoop.hbase.TableName table)
Decide whether the table need replicate to the peer cluster
|
static ReplicationPeerConfigBuilder |
newBuilder() |
static ReplicationPeerConfigBuilder |
newBuilder(ReplicationPeerConfig peerConfig) |
boolean |
replicateAllUserTables() |
ReplicationPeerConfig |
setBandwidth(long bandwidth)
Deprecated.
as release of 2.0.0, and it will be removed in 3.0.0. Use
ReplicationPeerConfigBuilder.setBandwidth(long) instead. |
ReplicationPeerConfig |
setClusterKey(String clusterKey)
Deprecated.
as release of 2.0.0, and it will be removed in 3.0.0. Use
ReplicationPeerConfigBuilder.setClusterKey(String) instead. |
ReplicationPeerConfig |
setExcludeNamespaces(Set<String> namespaces)
Deprecated.
as release of 2.0.0, and it will be removed in 3.0.0. Use
ReplicationPeerConfigBuilder.setExcludeNamespaces(Set) instead. |
ReplicationPeerConfig |
setExcludeTableCFsMap(Map<org.apache.hadoop.hbase.TableName,? extends Collection<String>> tableCFsMap)
Deprecated.
as release of 2.0.0, and it will be removed in 3.0.0. Use
ReplicationPeerConfigBuilder.setExcludeTableCFsMap(Map) instead. |
ReplicationPeerConfig |
setNamespaces(Set<String> namespaces)
Deprecated.
as release of 2.0.0, and it will be removed in 3.0.0. Use
ReplicationPeerConfigBuilder.setNamespaces(Set) instead. |
ReplicationPeerConfig |
setReplicateAllUserTables(boolean replicateAllUserTables)
Deprecated.
as release of 2.0.0, and it will be removed in 3.0.0. Use
ReplicationPeerConfigBuilder.setReplicateAllUserTables(boolean) instead. |
ReplicationPeerConfig |
setReplicationEndpointImpl(String replicationEndpointImpl)
Deprecated.
as release of 2.0.0, and it will be removed in 3.0.0. Use
ReplicationPeerConfigBuilder.setReplicationEndpointImpl(String) instead. |
ReplicationPeerConfig |
setTableCFsMap(Map<org.apache.hadoop.hbase.TableName,? extends Collection<String>> tableCFsMap)
Deprecated.
as release of 2.0.0, and it will be removed in 3.0.0. Use
ReplicationPeerConfigBuilder.setTableCFsMap(Map) instead. |
String |
toString() |
@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<org.apache.hadoop.hbase.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.public Map<org.apache.hadoop.hbase.TableName,List<String>> getExcludeTableCFsMap()
@Deprecated public ReplicationPeerConfig setExcludeTableCFsMap(Map<org.apache.hadoop.hbase.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(org.apache.hadoop.hbase.TableName table)
table - name of the tableCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.