Class ParticipantGmsImpl
java.lang.Object
org.jgroups.protocols.pbcast.GmsImpl
org.jgroups.protocols.pbcast.ParticipantGmsImpl
- Version:
- $Id: ParticipantGmsImpl.java,v 1.29.4.1 2009/04/07 09:53:56 belaban Exp $
- Author:
- Bela Ban
-
Nested Class Summary
Nested classes/interfaces inherited from class GmsImpl
GmsImpl.Request -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleJoinResponse(JoinRsp join_rsp) In case we get a different JOIN_RSP from a previous JOIN_REQ sent by us (as a client), we simply apply the new view if it is greater than oursvoidvoidhandleMembershipChange(Collection<GmsImpl.Request> requests) voidhandleMergeRequest(Address sender, ViewId merge_id) voidhandleViewChange(View new_view, Digest digest) If we are leaving, we have to wait for the view change (last msg in the current view) that excludes us before we can leave.voidinit()voidvoidvoidLoop: determine coord.voidvoidRemoves previously suspected member from list of currently suspected membersMethods inherited from class GmsImpl
handleDigestResponse, handleExit, handleMergeCancelled, handleMergeResponse, handleMergeView, handleUpEvent, iWouldBeCoordinator, merge, sendMergeRejectedResponse, start, stop, wrongMethod
-
Constructor Details
-
ParticipantGmsImpl
-
-
Method Details
-
init
-
join
-
joinWithStateTransfer
- Specified by:
joinWithStateTransferin classGmsImpl
-
leave
-
handleJoinResponse
In case we get a different JOIN_RSP from a previous JOIN_REQ sent by us (as a client), we simply apply the new view if it is greater than ours- Specified by:
handleJoinResponsein classGmsImpl- Parameters:
join_rsp-
-
handleLeaveResponse
public void handleLeaveResponse()- Specified by:
handleLeaveResponsein classGmsImpl
-
suspect
-
unsuspect
-
handleMembershipChange
- Specified by:
handleMembershipChangein classGmsImpl
-
handleViewChange
If we are leaving, we have to wait for the view change (last msg in the current view) that excludes us before we can leave.- Specified by:
handleViewChangein classGmsImpl- Parameters:
new_view- The view to be installeddigest- If view is a MergeView, digest contains the seqno digest of all members and has to be set by GMS
-
handleMergeRequest
- Overrides:
handleMergeRequestin classGmsImpl
-