public enum GridKernalState extends Enum<GridKernalState>
Enum Constant and Description |
---|
DISCONNECTED
Kernal is disconnected.
|
STARTED
Kernal is started.
|
STARTING
Kernal is starting.
|
STOPPED
Kernal is stopped.
|
STOPPING
Kernal is stopping.
|
Modifier and Type | Method and Description |
---|---|
static GridKernalState |
fromOrdinal(int ord) |
static GridKernalState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridKernalState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridKernalState STARTED
public static final GridKernalState STARTING
public static final GridKernalState STOPPING
public static final GridKernalState DISCONNECTED
public static final GridKernalState STOPPED
This is also the initial state of the kernal.
public static GridKernalState[] values()
for (GridKernalState c : GridKernalState.values()) System.out.println(c);
public static GridKernalState 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 null@Nullable public static GridKernalState fromOrdinal(int ord)
ord
- Byte to convert to enum.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017