public class ParticipantGmsImpl extends ServerGmsImpl
GmsImpl.Request
构造器和说明 |
---|
ParticipantGmsImpl(GMS g) |
限定符和类型 | 方法和说明 |
---|---|
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, handleMergeRequest, handleMergeView
handleMergeCancelled, handleMergeResponse, merge, sendMergeRejectedResponse, start, stop, wrongMethod
public ParticipantGmsImpl(GMS g)
public void joinWithStateTransfer(Address mbr, boolean useFlushIfPresent)
joinWithStateTransfer
在类中 GmsImpl
public void leave(Address mbr)
public void handleJoinResponse(JoinRsp join_rsp)
handleJoinResponse
在类中 GmsImpl
join_rsp
- public void handleLeaveResponse()
handleLeaveResponse
在类中 GmsImpl
public void unsuspect(Address mbr)
public void handleMembershipChange(java.util.Collection<GmsImpl.Request> requests)
handleMembershipChange
在类中 GmsImpl
public void handleViewChange(View new_view, Digest digest)
handleViewChange
在类中 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 GMS