org.jgroups.protocols.pbcast
Class ParticipantGmsImpl
public class ParticipantGmsImpl
handleDownEvent, handleExit, handleJoin, handleJoinResponse, handleLeave, handleLeaveResponse, handleMergeCancelled, handleMergeRequest, handleMergeResponse, handleMergeView, handleSuspect, handleUpEvent, handleViewChange, iWouldBeCoordinator, init, join, leave, merge, sendMergeRejectedResponse, start, stop, suspect, unsuspect, wrongMethod |
ParticipantGmsImpl
public ParticipantGmsImpl(GMS g)
handleViewChange
public void handleViewChange(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.
- handleViewChange in interface GmsImpl
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
init
public void init()
throws Exception- init in interface GmsImpl
leave
public void leave(Address mbr)
Loop: determine coord. If coord is me --> handleLeave().
Else send handleLeave() to coord until success
- leave in interface GmsImpl
unsuspect
public void unsuspect(Address mbr)
Removes previously suspected member from list of currently suspected members
- unsuspect in interface GmsImpl
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.