public enum QuorumStateChangeEventEnum extends Enum<QuorumStateChangeEventEnum>
QuorumStateChangeListener
interface.Enum Constant and Description |
---|
CONSENSUS
Event generated when a consensus has been achieved among
(k+1)/2 services concerning a shared lastCommitTime (really,
this is not a consensus but a simple majority). |
LOST_CONSENSUS
Event generated when the consensus is lost.
|
MEMBER_ADD
This service was added as a quorum member.
|
MEMBER_REMOVE
This service was removed as a quorum member.
|
PIPELINE_ADD
This service was added as a pipeline member.
|
PIPELINE_CHANGE
Event generated when the downstream service in the write pipeline has
changed.
|
PIPELINE_ELECTED_LEADER
Event generated when a service already in the pipeline becomes the first
service in the write pipeline because all previous services in the
pipeline order have been removed from the pipeline.
|
PIPELINE_REMOVE
This service was removed as a pipeline member.
|
PIPELINE_UPSTREAM_CHANGE
Event generated when the upstream service in the write pipeline has been
removed.
|
QUORUM_BREAK
Event generated when a quorum breaks.
|
QUORUM_MEET
Event generated when a quorum meets.
|
SERVICE_JOIN
Event generated when this service joins the quorum.
|
SERVICE_LEAVE
Event generated when this service leaves the quorum.
|
Modifier and Type | Method and Description |
---|---|
static QuorumStateChangeEventEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuorumStateChangeEventEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuorumStateChangeEventEnum MEMBER_ADD
public static final QuorumStateChangeEventEnum MEMBER_REMOVE
public static final QuorumStateChangeEventEnum PIPELINE_ADD
public static final QuorumStateChangeEventEnum PIPELINE_REMOVE
public static final QuorumStateChangeEventEnum PIPELINE_ELECTED_LEADER
public static final QuorumStateChangeEventEnum PIPELINE_CHANGE
public static final QuorumStateChangeEventEnum PIPELINE_UPSTREAM_CHANGE
public static final QuorumStateChangeEventEnum CONSENSUS
(k+1)/2
services concerning a shared lastCommitTime (really,
this is not a consensus but a simple majority). This message is sent to
each member service regardless of whether or not they participated in the
consensus.public static final QuorumStateChangeEventEnum LOST_CONSENSUS
public static final QuorumStateChangeEventEnum SERVICE_JOIN
public static final QuorumStateChangeEventEnum SERVICE_LEAVE
public static final QuorumStateChangeEventEnum QUORUM_MEET
public static final QuorumStateChangeEventEnum QUORUM_BREAK
public static QuorumStateChangeEventEnum[] values()
for (QuorumStateChangeEventEnum c : QuorumStateChangeEventEnum.values()) System.out.println(c);
public static QuorumStateChangeEventEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.