@InterfaceAudience.LimitedPrivate(value="Replication") public interface ReplicationPeer
Modifier and Type | Interface and Description |
---|---|
static class |
ReplicationPeer.PeerState
State of the peer, whether it is enabled or not
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConfiguration()
Get the configuration object required to communicate with this peer
|
String |
getId()
Get the identifier of this peer
|
Set<String> |
getNamespaces()
Get replicable namespace set of this peer
|
long |
getPeerBandwidth()
Get the per node bandwidth upper limit for this peer
|
ReplicationPeerConfig |
getPeerConfig()
Get the peer config object
|
ReplicationPeer.PeerState |
getPeerState()
Returns the state of the peer
|
Map<TableName,List<String>> |
getTableCFs()
Get replicable (table, cf-list) map of this peer
|
void |
trackPeerConfigChanges(ReplicationPeerConfigListener listener) |
ReplicationPeerConfig getPeerConfig()
ReplicationPeer.PeerState getPeerState()
org.apache.hadoop.conf.Configuration getConfiguration()
Map<TableName,List<String>> getTableCFs()
Set<String> getNamespaces()
long getPeerBandwidth()
void trackPeerConfigChanges(ReplicationPeerConfigListener listener)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.