org.jgroups.protocols.pbcast
public class CoordGmsImpl extends GmsImpl
| Constructor Summary | |
|---|---|
| CoordGmsImpl(GMS g) | |
| Method Summary | |
|---|---|
| void | handleExit() |
| void | handleJoin(Address mbr)
Computes the new view (including the newly joined member) and get the digest from PBCAST.
|
| void | handleJoinResponse(JoinRsp join_rsp) |
| void | handleLeave(Address mbr, boolean suspected)
Exclude mbr from the membership. |
| void | handleLeaveResponse() |
| void | handleMergeCancelled(ViewId merge_id) |
| void | handleMergeRequest(Address sender, ViewId merge_id)
Get the view and digest and send back both (MergeData) in the form of a MERGE_RSP to the sender.
|
| void | handleMergeResponse(MergeData data, ViewId merge_id) |
| void | handleMergeView(MergeData data, ViewId merge_id)
If merge_id is not equal to this.merge_id then discard.
|
| void | handleSuspect(Address mbr) |
| void | handleViewChange(View new_view, Digest digest)
Called by the GMS when a VIEW is received. |
| 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 | stop() |
| void | suspect(Address mbr) |
| void | unsuspect(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: new_view The view to be installed digest If view is a MergeView, digest contains the seqno digest of all members and has to be set by GMS
Parameters: other_coords A list of coordinators (including myself) found by MERGE protocol