public enum LifecycleEventType extends Enum<LifecycleEventType>
For more information and detailed examples refer to LifecycleBean
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 LifecycleEventType |
fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static LifecycleEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleEventType BEFORE_GRID_START
public static final LifecycleEventType AFTER_GRID_START
public static final LifecycleEventType BEFORE_GRID_STOP
public static final LifecycleEventType AFTER_GRID_STOP
public static LifecycleEventType[] values()
for (LifecycleEventType c : LifecycleEventType.values()) System.out.println(c);
public static LifecycleEventType 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 LifecycleEventType fromOrdinal(byte ord)
ord
- Ordinal value.
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 16 2015