public class ParticipantGmsImpl extends ServerGmsImpl
GmsImpl.Request| Constructor and Description |
|---|
ParticipantGmsImpl(GMS g) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleJoinResponse(JoinRsp join_rsp)
In case we get a different JOIN_RSP from a previous JOIN_REQ sent by us (as a client), we simply apply the
new view if it is greater than ours
|
void |
handleLeaveResponse() |
void |
handleMembershipChange(java.util.Collection<GmsImpl.Request> requests) |
void |
handleViewChange(View new_view,
Digest digest)
If we are leaving, we have to wait for the view change (last msg in the current view) that
excludes us before we can leave.
|
void |
init() |
void |
join(Address mbr,
boolean useFlushIfPresent) |
void |
joinWithStateTransfer(Address mbr,
boolean useFlushIfPresent) |
void |
leave(Address mbr)
Loop: determine coord.
|
void |
suspect(Address mbr) |
void |
unsuspect(Address mbr)
Removes previously suspected member from list of currently suspected members
|
handleDigestResponse, handleMergeCancelled, handleMergeRequest, handleMergeResponse, handleMergeView, mergesendMergeRejectedResponse, start, stop, wrongMethodpublic ParticipantGmsImpl(GMS g)
public void init()
throws java.lang.Exception
public void joinWithStateTransfer(Address mbr, boolean useFlushIfPresent)
joinWithStateTransfer in class GmsImplpublic void leave(Address mbr)
public void handleJoinResponse(JoinRsp join_rsp)
handleJoinResponse in class GmsImpljoin_rsp - public void handleLeaveResponse()
handleLeaveResponse in class GmsImplpublic void unsuspect(Address mbr)
public void handleMembershipChange(java.util.Collection<GmsImpl.Request> requests)
handleMembershipChange in class GmsImplpublic void handleViewChange(View new_view, Digest digest)
handleViewChange in class GmsImplnew_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 © 1998-2020 Red Hat. All Rights Reserved.