public enum MemberStatus extends Enum<MemberStatus>
| Enum Constant and Description |
|---|
ALIVE
Member is reachable and responding on messages.
|
DEAD
Member declared as dead after being
SUSPECT for configured time or when node has been gracefully shutdown
and left cluster. |
SUSPECT
Member can't be reached and marked as suspected to be failed.
|
| Modifier and Type | Method and Description |
|---|---|
static MemberStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberStatus ALIVE
public static final MemberStatus SUSPECT
public static final MemberStatus DEAD
SUSPECT for configured time or when node has been gracefully shutdown
and left cluster.public static MemberStatus[] values()
for (MemberStatus c : MemberStatus.values()) System.out.println(c);
public static MemberStatus 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 © 2015–2017. All rights reserved.