public enum HAStatusEnum extends Enum<HAStatusEnum>
Enum Constant and Description |
---|
Follower
Ready to handle requests as a quorum follower.
|
Leader
Ready to handle requests as the quorum leader.
|
NotReady
Not ready to handle HA read/write requests.
|
Modifier and Type | Method and Description |
---|---|
static HAStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HAStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HAStatusEnum Leader
public static final HAStatusEnum Follower
public static final HAStatusEnum NotReady
public static HAStatusEnum[] values()
for (HAStatusEnum c : HAStatusEnum.values()) System.out.println(c);
public static HAStatusEnum 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.