org.jgroups.protocols
public class CoordGmsImpl extends GmsImpl
Constructor Summary | |
---|---|
CoordGmsImpl(GMS g) |
Method Summary | |
---|---|
boolean | handleJoin(Address mbr) |
void | handleLeave(Address mbr, boolean suspected)
Exclude mbr from the membership. |
View | handleMerge(ViewId other_vid, Vector other_mbrs)
Invoked by another coordinator that asks to merge its view with mine.
|
void | handleSuspect(Address mbr) |
void | handleViewChange(ViewId new_view, Vector mbrs) |
void | init() |
void | join(Address mbr) |
void | leave(Address mbr)
The coordinator itself wants to leave the group |
void | merge(Vector other_coords)
Invoked upon receiving a MERGE event from the MERGE layer. |
void | suspect(Address mbr) |
mbr
from the membership. If suspected
is true, then
this member crashed and therefore is forced to leave, otherwise it is leaving voluntarily.Parameters: other_coords A list of other coordinators found. In the current implementation the list only has a single element