public enum QuorumEventEnum extends Enum<QuorumEventEnum>
Enum Constant and Description |
---|
CAST_VOTE
Vote cast by a service for some lastCommitTime.
|
CONSENSUS
A consensus has been achieved with
(k+1)/2 services voting
for some lastCommitTime. |
MEMBER_ADD
Event generated when a member service is added to a quorum.
|
MEMBER_REMOVE
Event generated when a member service is removed form a quorum.
|
PIPELINE_ADD
Event generated when a service is added to the write pipeline.
|
PIPELINE_REMOVE
Event generated when a member service is removed from the write pipeline.
|
QUORUM_BROKE
Event generated when a quorum breaks (aka when the token is cleared).
|
QUORUM_DISCONNECTED
Event generated when a service becomes disconnected from a remote quorum
(such as a zookeeper ensemble).
|
QUORUM_MEET
Event generated when a quorum meets (aka when the lastValidToken and
token are updated atomically).
|
SERVICE_JOIN
Event generated when a service joins a quorum.
|
SERVICE_LEAVE
Event generated when a service leaves a quorum.
|
WITHDRAW_VOTE
Vote for some lastCommitTime was withdrawn by a service.
|
Modifier and Type | Method and Description |
---|---|
static QuorumEventEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuorumEventEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuorumEventEnum MEMBER_ADD
public static final QuorumEventEnum MEMBER_REMOVE
public static final QuorumEventEnum PIPELINE_ADD
public static final QuorumEventEnum PIPELINE_REMOVE
public static final QuorumEventEnum CAST_VOTE
public static final QuorumEventEnum WITHDRAW_VOTE
public static final QuorumEventEnum CONSENSUS
(k+1)/2
services voting
for some lastCommitTime. This event will typically be associated with an
invalid quorum token since the quorum token is assigned when the leader
is elected and this event generally becomes visible before the
#LEADER_ELECTED
event.public static final QuorumEventEnum SERVICE_JOIN
public static final QuorumEventEnum SERVICE_LEAVE
public static final QuorumEventEnum QUORUM_MEET
public static final QuorumEventEnum QUORUM_BROKE
public static final QuorumEventEnum QUORUM_DISCONNECTED
public static QuorumEventEnum[] values()
for (QuorumEventEnum c : QuorumEventEnum.values()) System.out.println(c);
public static QuorumEventEnum 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.