Class CoordGmsImpl
java.lang.Object
org.jgroups.protocols.pbcast.GmsImpl
org.jgroups.protocols.pbcast.ServerGmsImpl
org.jgroups.protocols.pbcast.CoordGmsImpl
Coordinator role of the Group MemberShip (GMS) protocol. Accepts JOIN and LEAVE requests and emits view changes
accordingly.
- Author:
- Bela Ban
-
Nested Class Summary
Nested classes/interfaces inherited from class GmsImpl
GmsImpl.Request -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidhandleMembershipChange(Collection<GmsImpl.Request> requests) voidinit()voidvoidjoinWithStateTransfer(Address ignored) voidleave()The coordinator itself wants to leave the groupvoidstop()voidMethods inherited from class ServerGmsImpl
coordChanged, handleDigestResponse, handleMergeCancelled, handleMergeRequest, handleMergeResponse, handleMergeView, handleViewChange, mergeMethods inherited from class GmsImpl
handleJoinResponse, handleLeaveResponse, sendMergeRejectedResponse, start, unsuspect, wrongMethod
-
Field Details
-
MAX_SUSPEND_TIMEOUT
-
-
Constructor Details
-
CoordGmsImpl
-
-
Method Details
-
getMergeId
-
init
- Overrides:
initin classServerGmsImpl- Throws:
Exception
-
join
-
joinWithStateTransfer
- Specified by:
joinWithStateTransferin classGmsImpl
-
leave
-
handleCoordLeave
public void handleCoordLeave()- Overrides:
handleCoordLeavein classGmsImpl
-
suspect
-
handleMembershipChange
- Overrides:
handleMembershipChangein classGmsImpl
-
stop
-