public abstract class ServerGmsImpl extends GmsImpl
GmsImpl.Request
Modifier | Constructor and Description |
---|---|
protected |
ServerGmsImpl(GMS gms) |
Modifier and Type | Method and Description |
---|---|
void |
handleDigestResponse(Address sender,
Digest digest) |
void |
handleMergeCancelled(MergeId merge_id) |
void |
handleMergeRequest(Address sender,
MergeId merge_id,
java.util.Collection<? extends Address> mbrs)
Get the view and digest and send back both (MergeData) in the form of a MERGE_RSP to the sender.
|
void |
handleMergeResponse(MergeData data,
MergeId merge_id) |
void |
handleMergeView(MergeData data,
MergeId merge_id)
If merge_id is not equal to this.merge_id then discard.
|
void |
merge(java.util.Map<Address,View> views)
Invoked upon receiving a MERGE event from the MERGE layer.
|
handleJoinResponse, handleLeaveResponse, handleMembershipChange, handleViewChange, init, join, joinWithStateTransfer, leave, sendMergeRejectedResponse, start, stop, suspect, unsuspect, wrongMethod
protected ServerGmsImpl(GMS gms)
public void merge(java.util.Map<Address,View> views)
public void handleMergeRequest(Address sender, MergeId merge_id, java.util.Collection<? extends Address> mbrs)
handleMergeRequest
in class GmsImpl
sender
- The address of the merge leadermerge_id
- The merge IDmbrs
- The set of members from which we expect responsespublic void handleMergeResponse(MergeData data, MergeId merge_id)
handleMergeResponse
in class GmsImpl
public void handleMergeCancelled(MergeId merge_id)
handleMergeCancelled
in class GmsImpl
public void handleMergeView(MergeData data, MergeId merge_id)
handleMergeView
in class GmsImpl
public void handleDigestResponse(Address sender, Digest digest)
handleDigestResponse
in class GmsImpl
Copyright © 1998-2020 Red Hat. All Rights Reserved.