public enum GridSegmentationPolicy extends Enum<GridSegmentationPolicy>
IgniteConfiguration.DFLT_SEG_PLC property.GridSegmentationResolver| Enum Constant and Description |
|---|
NOOP
When segmentation policy is
NOOP, all listeners will receive
EventType.EVT_NODE_SEGMENTED event and it is up to user to
implement logic to handle this event. |
RESTART_JVM
When segmentation policy is
RESTART_JVM, all listeners will receive
EventType.EVT_NODE_SEGMENTED event and then JVM will be restarted. |
STOP
When segmentation policy is
STOP, all listeners will receive
EventType.EVT_NODE_SEGMENTED event and then particular grid node
will be stopped via call to Ignition.stop(String, boolean). |
| Modifier and Type | Method and Description |
|---|---|
static GridSegmentationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridSegmentationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridSegmentationPolicy RESTART_JVM
RESTART_JVM, all listeners will receive
EventType.EVT_NODE_SEGMENTED event and then JVM will be restarted.
Note, that this will work only if Ignite is started with CommandLineStartup
via standard ignite.{sh|bat} shell script.public static final GridSegmentationPolicy STOP
STOP, all listeners will receive
EventType.EVT_NODE_SEGMENTED event and then particular grid node
will be stopped via call to Ignition.stop(String, boolean).public static final GridSegmentationPolicy NOOP
NOOP, all listeners will receive
EventType.EVT_NODE_SEGMENTED event and it is up to user to
implement logic to handle this event.public static GridSegmentationPolicy[] values()
for (GridSegmentationPolicy c : GridSegmentationPolicy.values()) System.out.println(c);
public static GridSegmentationPolicy 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
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015