public class CoordGmsImpl extends ServerGmsImpl
GmsImpl.Request
Modifier and Type | Field and Description |
---|---|
protected static java.lang.Long |
MAX_SUSPEND_TIMEOUT |
Constructor and Description |
---|
CoordGmsImpl(GMS g) |
Modifier and Type | Method and Description |
---|---|
MergeId |
getMergeId() |
void |
handleMembershipChange(java.util.Collection<GmsImpl.Request> requests) |
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 |
stop() |
void |
suspect(Address mbr) |
handleDigestResponse, handleMergeCancelled, handleMergeRequest, handleMergeResponse, handleMergeView, merge
handleJoinResponse, handleLeaveResponse, sendMergeRejectedResponse, start, unsuspect, wrongMethod
public CoordGmsImpl(GMS g)
public MergeId getMergeId()
public void init() throws java.lang.Exception
public void joinWithStateTransfer(Address mbr, boolean useFlushIfPresent)
joinWithStateTransfer
in class GmsImpl
public void leave(Address mbr)
public void handleMembershipChange(java.util.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 © 1998-2020 Red Hat. All Rights Reserved.