public class CoordGmsImpl extends ServerGmsImpl
GmsImpl.Request
Modifier and Type | Field and Description |
---|---|
protected static Long |
MAX_SUSPEND_TIMEOUT |
Constructor and Description |
---|
CoordGmsImpl(GMS g) |
Modifier and Type | Method and Description |
---|---|
MergeId |
getMergeId() |
void |
handleMembershipChange(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
protected static final Long MAX_SUSPEND_TIMEOUT
public CoordGmsImpl(GMS g)
public MergeId getMergeId()
public void joinWithStateTransfer(Address mbr, boolean useFlushIfPresent)
joinWithStateTransfer
in class GmsImpl
public void leave(Address mbr)
public void handleMembershipChange(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 © 2017 JBoss, a division of Red Hat. All rights reserved.