Interface PeerProcedureHandler
- All Known Implementing Classes:
PeerProcedureHandlerImpl
A handler for modifying replication peer in peer procedures.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclaimReplicationQueue(ReplicationQueueId queueId) voiddisablePeer(String peerId) voidenablePeer(String peerId) voidremovePeer(String peerId) voidtransitSyncReplicationPeerState(String peerId, int stage, HRegionServer rs) voidupdatePeerConfig(String peerId)
-
Method Details
-
addPeer
- Throws:
ReplicationExceptionIOException
-
removePeer
- Throws:
ReplicationExceptionIOException
-
disablePeer
- Throws:
ReplicationExceptionIOException
-
enablePeer
- Throws:
ReplicationExceptionIOException
-
updatePeerConfig
- Throws:
ReplicationExceptionIOException
-
transitSyncReplicationPeerState
void transitSyncReplicationPeerState(String peerId, int stage, HRegionServer rs) throws ReplicationException, IOException - Throws:
ReplicationExceptionIOException
-
claimReplicationQueue
- Throws:
ReplicationExceptionIOException
-