public class CoordGmsImpl extends ServerGmsImpl
GmsImpl.Request
Constructor and Description |
---|
CoordGmsImpl(GMS g) |
Modifier and Type | Method and Description |
---|---|
MergeId |
getMergeId() |
void |
handleMembershipChange(Collection<GmsImpl.Request> requests) |
void |
handleMergeCancelled(MergeId merge_id) |
void |
handleMergeResponse(MergeData data,
MergeId merge_id) |
void |
handleViewChange(View new_view,
Digest digest)
Called by the GMS when a VIEW is received.
|
void |
init() |
void |
join(Address mbr,
boolean useFlushIfPresent) |
void |
joinWithStateTransfer(Address mbr,
boolean useFlushIfPresent) |
void |
leave(Address mbr)
The coordinator itself wants to leave the group
|
void |
merge(Map<Address,View> views)
Invoked upon receiving a MERGE event from the MERGE layer.
|
void |
stop() |
void |
suspect(Address mbr) |
handleDigestResponse, handleMergeRequest, handleMergeView
handleJoinResponse, handleLeaveResponse, sendMergeRejectedResponse, start, unsuspect, wrongMethod
public CoordGmsImpl(GMS g)
public MergeId getMergeId()
public void joinWithStateTransfer(Address mbr, boolean useFlushIfPresent)
joinWithStateTransfer
in class GmsImpl
public void leave(Address mbr)
public void merge(Map<Address,View> views)
public void handleMergeResponse(MergeData data, MergeId merge_id)
handleMergeResponse
in class GmsImpl
public void handleMergeCancelled(MergeId merge_id)
handleMergeCancelled
in class GmsImpl
public void handleMembershipChange(Collection<GmsImpl.Request> requests)
handleMembershipChange
in class GmsImpl
public void handleViewChange(View new_view, Digest digest)
handleViewChange
in class 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 GMSCopyright © 2012 JBoss by Red Hat. All Rights Reserved.