public class QCE extends Object implements QuorumStateChangeEvent
| Constructor and Description |
|---|
QCE(QuorumStateChangeEventEnum eventType) |
QCE(QuorumStateChangeEventEnum eventType,
UUID[] downstreamOldAndNew,
Long lastCommitTimeConsensus,
Long token,
UUID leaderId) |
| Modifier and Type | Method and Description |
|---|---|
UUID[] |
getDownstreamOldAndNew()
Return the old and new downstream
UUIDs. |
QuorumStateChangeEventEnum |
getEventType()
The type of event and never
null. |
long |
getLastCommitTimeConsensus()
The last commit time consensus.
|
UUID |
getLeaderId()
Return the
UUID of the quorum leader. |
long |
getToken()
Return the token on which the quorum met.
|
String |
toString() |
public QCE(QuorumStateChangeEventEnum eventType)
public QCE(QuorumStateChangeEventEnum eventType, UUID[] downstreamOldAndNew, Long lastCommitTimeConsensus, Long token, UUID leaderId)
public QuorumStateChangeEventEnum getEventType()
QuorumStateChangeEventnull.getEventType in interface QuorumStateChangeEventpublic UUID[] getDownstreamOldAndNew()
QuorumStateChangeEventUUIDs.getDownstreamOldAndNew in interface QuorumStateChangeEventUUID. [1] is the new downstream service UUID.QuorumStateChangeListener.pipelineChange(UUID, UUID)public long getLastCommitTimeConsensus()
QuorumStateChangeEventgetLastCommitTimeConsensus in interface QuorumStateChangeEventQuorumStateChangeListener.consensus(long)public long getToken()
QuorumStateChangeEventgetToken in interface QuorumStateChangeEventQuorumStateChangeListener.quorumMeet(long, UUID)public UUID getLeaderId()
QuorumStateChangeEventUUID of the quorum leader.getLeaderId in interface QuorumStateChangeEventUUID of the quorum leader.QuorumStateChangeListener.quorumMeet(long, UUID)Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.