Enum LifecycleEvent.Type
- java.lang.Object
-
- java.lang.Enum<LifecycleEvent.Type>
-
- com.tangosol.net.events.application.LifecycleEvent.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<LifecycleEvent.Type>
- Enclosing interface:
- LifecycleEvent
public static enum LifecycleEvent.Type extends Enum<LifecycleEvent.Type>
TheLifecycleEvent
types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATED
ThisLifecycleEvent
is dispatched when aConfigurableCacheFactory
has been activated.ACTIVATING
ThisLifecycleEvent
is dispatched prior to the activation of aConfigurableCacheFactory
.DISPOSING
ThisLifecycleEvent
is dispatched when aConfigurableCacheFactory
is about to be disposed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LifecycleEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static LifecycleEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVATING
public static final LifecycleEvent.Type ACTIVATING
ThisLifecycleEvent
is dispatched prior to the activation of aConfigurableCacheFactory
. This typically suggests that anyautostart
services have not been started, however will be after this event is emitted. SeeConfigurableCacheFactory.activate()
for more details.
-
ACTIVATED
public static final LifecycleEvent.Type ACTIVATED
ThisLifecycleEvent
is dispatched when aConfigurableCacheFactory
has been activated. This typically means that allautostart
services have been started. SeeConfigurableCacheFactory.activate()
) for more details.
-
DISPOSING
public static final LifecycleEvent.Type DISPOSING
ThisLifecycleEvent
is dispatched when aConfigurableCacheFactory
is about to be disposed. After interceptors are notified of this event typically the ConfigurableCacheFactory will shut down all of it's services and clean up it's resources.
-
-
Method Detail
-
values
public static LifecycleEvent.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LifecycleEvent.Type c : LifecycleEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LifecycleEvent.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-