public enum SuspendType extends Enum<SuspendType>
Enum Constant and Description |
---|
DEMOTING
The space is demoting to backup.
|
DISCONNECTED
The space is disconnected from ZooKeeper.
|
NONE
The space is not suspended.
|
QUIESCED
The space is quiesced.
|
Modifier and Type | Method and Description |
---|---|
static SuspendType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuspendType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuspendType NONE
public static final SuspendType QUIESCED
public static final SuspendType DEMOTING
public static final SuspendType DISCONNECTED
public static SuspendType[] values()
for (SuspendType c : SuspendType.values()) System.out.println(c);
public static SuspendType 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 © GigaSpaces.