Class PeerProcedureHandlerImpl
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.PeerProcedureHandlerImpl
- All Implemented Interfaces:
PeerProcedureHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
claimReplicationQueue
(ServerName crashedServer, String queue) void
disablePeer
(String peerId) void
enablePeer
(String peerId) private void
refreshPeerState
(String peerId) void
removePeer
(String peerId) void
updatePeerConfig
(String peerId)
-
Field Details
-
replicationSourceManager
-
peersLock
-
-
Constructor Details
-
PeerProcedureHandlerImpl
-
-
Method Details
-
addPeer
- Specified by:
addPeer
in interfacePeerProcedureHandler
- Throws:
IOException
-
removePeer
- Specified by:
removePeer
in interfacePeerProcedureHandler
- Throws:
IOException
-
refreshPeerState
- Throws:
ReplicationException
IOException
-
enablePeer
- Specified by:
enablePeer
in interfacePeerProcedureHandler
- Throws:
ReplicationException
IOException
-
disablePeer
- Specified by:
disablePeer
in interfacePeerProcedureHandler
- Throws:
ReplicationException
IOException
-
updatePeerConfig
- Specified by:
updatePeerConfig
in interfacePeerProcedureHandler
- Throws:
ReplicationException
IOException
-
claimReplicationQueue
public void claimReplicationQueue(ServerName crashedServer, String queue) throws ReplicationException, IOException - Specified by:
claimReplicationQueue
in interfacePeerProcedureHandler
- Throws:
ReplicationException
IOException
-