public enum LifecycleEventType extends Enum<LifecycleEventType>
For more information and detailed examples refer to LifecycleBean
documentation.
Enum Constant and Description |
---|
AFTER_NODE_START
Invoked after node startup is complete.
|
AFTER_NODE_STOP
Invoked after node had stopped.
|
BEFORE_NODE_START
Invoked before node startup routine.
|
BEFORE_NODE_STOP
Invoked before node stopping routine.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable 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_NODE_START
public static final LifecycleEventType AFTER_NODE_START
public static final LifecycleEventType BEFORE_NODE_STOP
public static final LifecycleEventType AFTER_NODE_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 @Nullable LifecycleEventType fromOrdinal(byte ord)
ord
- Ordinal value.
GridGain In-Memory Computing Platform : ver. 8.9.19 Release Date : April 10 2025