public class CoordGmsImpl extends ServerGmsImpl
GmsImpl.Request
限定符和类型 | 字段和说明 |
---|---|
protected static java.lang.Long |
MAX_SUSPEND_TIMEOUT |
构造器和说明 |
---|
CoordGmsImpl(GMS g) |
限定符和类型 | 方法和说明 |
---|---|
MergeId |
getMergeId() |
void |
handleMembershipChange(java.util.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(java.util.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
在类中 GmsImpl
public void leave(Address mbr)
public void merge(java.util.Map<Address,View> views)
public void handleMergeResponse(MergeData data, MergeId merge_id)
handleMergeResponse
在类中 GmsImpl
public void handleMergeCancelled(MergeId merge_id)
handleMergeCancelled
在类中 GmsImpl
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