public static enum BackingCacheLifecycleListener.LifecycleState extends Enum<BackingCacheLifecycleListener.LifecycleState>
Enum Constant and Description |
---|
FAILED
A failure has occurred in start() or stop()
|
STARTED
The cache has started
|
STARTING
The cache is starting
|
STOPPED
The cache has stopped
|
STOPPING
The cache is stopping
|
Modifier and Type | Method and Description |
---|---|
static BackingCacheLifecycleListener.LifecycleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackingCacheLifecycleListener.LifecycleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackingCacheLifecycleListener.LifecycleState STARTING
public static final BackingCacheLifecycleListener.LifecycleState STARTED
public static final BackingCacheLifecycleListener.LifecycleState STOPPING
public static final BackingCacheLifecycleListener.LifecycleState STOPPED
public static final BackingCacheLifecycleListener.LifecycleState FAILED
public static BackingCacheLifecycleListener.LifecycleState[] values()
for (BackingCacheLifecycleListener.LifecycleState c : BackingCacheLifecycleListener.LifecycleState.values()) System.out.println(c);
public static BackingCacheLifecycleListener.LifecycleState 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 nullCopyright © 2013 JBoss by Red Hat. All rights reserved.