org.jgroups.protocols
Class CoordGmsImpl
public class CoordGmsImpl
handleDownEvent , handleJoin , handleLeave , handleMerge , handleSuspect , handleUpEvent , handleViewChange , iWouldBeCoordinator , init , join , leave , merge , suspect , wrongMethod |
CoordGmsImpl
public CoordGmsImpl(GMS g)
handleLeave
public void handleLeave(Address mbr,
boolean suspected)
Exclude mbr
from the membership. If suspected
is true, then
this member crashed and therefore is forced to leave, otherwise it is leaving voluntarily.
- handleLeave in interface GmsImpl
handleMerge
public View handleMerge(ViewId other_vid,
Vector other_mbrs)
Invoked by another coordinator that asks to merge its view with mine.
I 'll be the new coordinator.
We should flush our view, install a new view with all the members and
return the new view that will be installed by the other coordinator before
becoming a participant.
- handleMerge in interface GmsImpl
leave
public void leave(Address mbr)
The coordinator itself wants to leave the group
- leave in interface GmsImpl
merge
public void merge(Vector other_coords)
Invoked upon receiving a MERGE event from the MERGE layer. We have found a partition and
should merge with them, then I will become a Participant.
- merge in interface GmsImpl
other_coords
- A list of other coordinators found. In the current implementation the list
only has a single element
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.