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