public interface QuorumStateChangeEvent
QuorumStateChangeListener API. This
interface makes it possible to enqueue these messages and then process them
asynchronously.QuorumStateChangeListener| 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.
|
QuorumStateChangeEventEnum getEventType()
null.UUID[] getDownstreamOldAndNew()
UUIDs.UUID. [1] is the new downstream service UUID.UnsupportedOperationException - unless getEventType() is
QuorumStateChangeEventEnum.PIPELINE_CHANGE.QuorumStateChangeListener.pipelineChange(UUID, UUID)long getLastCommitTimeConsensus()
UnsupportedOperationException - unless getEventType() is
QuorumStateChangeEventEnum.CONSENSUS.QuorumStateChangeListener.consensus(long)long getToken()
UnsupportedOperationException - unless getEventType() is
QuorumStateChangeEventEnum.QUORUM_MEET.QuorumStateChangeListener.quorumMeet(long, UUID)UUID getLeaderId()
UUID of the quorum leader.UUID of the quorum leader.UnsupportedOperationException - unless getEventType() is
QuorumStateChangeEventEnum.QUORUM_MEET.QuorumStateChangeListener.quorumMeet(long, UUID)Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.