Package | Description |
---|---|
org.apache.hadoop.hbase.client.replication |
Modifier and Type | Method and Description |
---|---|
void |
ReplicationAdmin.addPeer(String id,
ReplicationPeerConfig peerConfig)
Add a new remote slave cluster for replication.
|
void |
ReplicationAdmin.addPeer(String id,
ReplicationPeerConfig peerConfig,
Map<TableName,? extends Collection<String>> tableCfs)
Add a new remote slave cluster for replication.
|
void |
ReplicationAdmin.addPeer(String id,
String clusterKey)
Deprecated.
Use addPeer(String, ReplicationPeerConfig, Map) instead.
|
void |
ReplicationAdmin.addPeer(String id,
String clusterKey,
String tableCFs)
Deprecated.
|
void |
ReplicationAdmin.appendPeerTableCFs(String id,
Map<TableName,? extends Collection<String>> tableCfs)
Append the replicable table-cf config of the specified peer
|
void |
ReplicationAdmin.appendPeerTableCFs(String id,
String tableCfs)
Append the replicable table-cf config of the specified peer
|
void |
ReplicationAdmin.disablePeer(String id)
Stop the replication stream to the specified peer.
|
void |
ReplicationAdmin.enablePeer(String id)
Restart the replication stream to the specified peer.
|
ReplicationPeerConfig |
ReplicationAdmin.getPeerConfig(String id) |
boolean |
ReplicationAdmin.getPeerState(String id)
Get the state of the specified peer cluster
|
String |
ReplicationAdmin.getPeerTableCFs(String id)
Get the replicable table-cf config of the specified peer.
|
void |
ReplicationAdmin.peerAdded(String id) |
void |
ReplicationAdmin.removePeer(String id)
Removes a peer cluster and stops the replication to it.
|
void |
ReplicationAdmin.removePeerTableCFs(String id,
Map<TableName,? extends Collection<String>> tableCfs)
Remove some table-cfs from config of the specified peer
|
void |
ReplicationAdmin.removePeerTableCFs(String id,
String tableCf)
Remove some table-cfs from table-cfs config of the specified peer
|
void |
ReplicationAdmin.setPeerTableCFs(String id,
Map<TableName,? extends Collection<String>> tableCfs)
Set the replicable table-cf config of the specified peer
|
void |
ReplicationAdmin.setPeerTableCFs(String id,
String tableCFs)
Deprecated.
|
void |
ReplicationAdmin.updatePeerConfig(String id,
ReplicationPeerConfig peerConfig) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.