public enum ChangeType extends Enum<ChangeType>
| Enum Constant and Description |
|---|
JOIN
Join cluster as dynamic member.
|
NULL_VAL
To be used to represent not present or null.
|
QUIT
Quit cluster as dynamic member.
|
| Modifier and Type | Method and Description |
|---|---|
static ChangeType |
get(int value)
Lookup the enum value representing the value.
|
int |
value()
The raw encoded value in the Java type representation.
|
static ChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeType JOIN
public static final ChangeType QUIT
public static final ChangeType NULL_VAL
public static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);
public static ChangeType 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 nullpublic int value()
public static ChangeType get(int value)
value - encoded to be looked up.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.