public enum GridLifecycleEventType extends Enum<GridLifecycleEventType>
For more information and detailed examples refer to GridLifecycleBean
documentation.
| Enum Constant and Description |
|---|
AFTER_GRID_START
Invoked after grid startup is complete.
|
AFTER_GRID_STOP
Invoked after grid had stopped.
|
BEFORE_GRID_START
Invoked before grid startup routine.
|
BEFORE_GRID_STOP
Invoked before grid stopping routine.
|
| Modifier and Type | Method and Description |
|---|---|
static GridLifecycleEventType |
fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridLifecycleEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridLifecycleEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridLifecycleEventType BEFORE_GRID_START
public static final GridLifecycleEventType AFTER_GRID_START
public static final GridLifecycleEventType BEFORE_GRID_STOP
public static final GridLifecycleEventType AFTER_GRID_STOP
public static GridLifecycleEventType[] values()
for (GridLifecycleEventType c : GridLifecycleEventType.values()) System.out.println(c);
public static GridLifecycleEventType 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 GridLifecycleEventType fromOrdinal(byte ord)
ord - Ordinal value.Copyright © 2014. All rights reserved.