org.jgroups.protocols.pbcast
Class ParticipantGmsImpl
java.lang.Object
org.jgroups.protocols.pbcast.GmsImpl
org.jgroups.protocols.pbcast.ParticipantGmsImpl
- public class ParticipantGmsImpl
- extends GmsImpl
Fields inherited from class org.jgroups.protocols.pbcast.GmsImpl |
gms |
Methods inherited from class org.jgroups.protocols.pbcast.GmsImpl |
handleDownEvent, handleMergeCancelled, handleMergeRequest, handleMergeResponse, handleMergeView, handleUpEvent, init, iWouldBeCoordinator, merge, start, stop, wrongMethod |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParticipantGmsImpl
public ParticipantGmsImpl(GMS g)
join
public void join(Address mbr)
- Specified by:
join
in class GmsImpl
leave
public void leave(Address mbr)
- Loop: determine coord. If coord is me --> handleLeave().
Else send handleLeave() to coord until success
- Specified by:
leave
in class GmsImpl
handleJoinResponse
public void handleJoinResponse(JoinRsp join_rsp)
- Specified by:
handleJoinResponse
in class GmsImpl
handleLeaveResponse
public void handleLeaveResponse()
- Specified by:
handleLeaveResponse
in class GmsImpl
suspect
public void suspect(Address mbr)
- Specified by:
suspect
in class GmsImpl
unsuspect
public void unsuspect(Address mbr)
- Removes previously suspected member from list of currently suspected members
- Specified by:
unsuspect
in class GmsImpl
handleJoin
public JoinRsp handleJoin(Address mbr)
- Specified by:
handleJoin
in class GmsImpl
handleLeave
public void handleLeave(Address mbr,
boolean suspected)
- Specified by:
handleLeave
in class GmsImpl
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.
- Specified by:
handleViewChange
in class GmsImpl
- 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
handleSuspect
public void handleSuspect(Address mbr)
- Specified by:
handleSuspect
in class GmsImpl
Copyright © 2001,2002 www.jgroups.com . All Rights Reserved.