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