public enum IgniteState extends Enum<IgniteState>
Ignition. You can register a listener for
state change notifications via Ignition.addListener(IgnitionListener)
method.| Enum Constant and Description |
|---|
STARTED
Grid factory started.
|
STOPPED
Grid factory stopped.
|
STOPPED_ON_SEGMENTATION
Grid factory stopped due to network segmentation issues.
|
| Modifier and Type | Method and Description |
|---|---|
static IgniteState |
fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static IgniteState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IgniteState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IgniteState STARTED
public static final IgniteState STOPPED
public static final IgniteState STOPPED_ON_SEGMENTATION
Notification on this state will be fired only when segmentation policy is
set to SegmentationPolicy.STOP or SegmentationPolicy.RESTART_JVM
and node is stopped from internals of Ignite after segment becomes invalid.
public static IgniteState[] values()
for (IgniteState c : IgniteState.values()) System.out.println(c);
public static IgniteState 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 IgniteState fromOrdinal(byte ord)
ord - Ordinal value.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016