@InterfaceAudience.Private public class PeerProcedureHandlerImpl extends Object implements PeerProcedureHandler
| Constructor and Description |
|---|
PeerProcedureHandlerImpl(ReplicationSourceManager replicationSourceManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPeer(String peerId) |
void |
disablePeer(String peerId) |
void |
enablePeer(String peerId) |
void |
removePeer(String peerId) |
void |
updatePeerConfig(String peerId) |
public PeerProcedureHandlerImpl(ReplicationSourceManager replicationSourceManager)
public void addPeer(String peerId) throws IOException
addPeer in interface PeerProcedureHandlerIOExceptionpublic void removePeer(String peerId) throws IOException
removePeer in interface PeerProcedureHandlerIOExceptionpublic void enablePeer(String peerId) throws org.apache.hadoop.hbase.replication.ReplicationException, IOException
enablePeer in interface PeerProcedureHandlerorg.apache.hadoop.hbase.replication.ReplicationExceptionIOExceptionpublic void disablePeer(String peerId) throws org.apache.hadoop.hbase.replication.ReplicationException, IOException
disablePeer in interface PeerProcedureHandlerorg.apache.hadoop.hbase.replication.ReplicationExceptionIOExceptionpublic void updatePeerConfig(String peerId) throws org.apache.hadoop.hbase.replication.ReplicationException, IOException
updatePeerConfig in interface PeerProcedureHandlerorg.apache.hadoop.hbase.replication.ReplicationExceptionIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.