|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ComponentStatus> org.infinispan.lifecycle.ComponentStatus
public enum ComponentStatus
Different states a component may be in.
Lifecycle
Enum Constant Summary | |
---|---|
FAILED
The component is in a failed state due to a problem with one of the other lifecycle transition phases. |
|
INITIALIZING
The start() method has been called but not yet completed. |
|
INSTANTIATED
Object has been instantiated, but start() has not been called. |
|
RUNNING
The start() method has been completed and the component is running. |
|
STOPPING
The stop() method has been called but has not yet completed. |
|
TERMINATED
The stop() method has completed and the component has terminated. |
Method Summary | |
---|---|
boolean |
allowInvocations()
|
boolean |
isStopping()
|
boolean |
isTerminated()
|
boolean |
needToDestroyFailedCache()
|
boolean |
needToInitializeBeforeStart()
|
boolean |
startAllowed()
|
boolean |
startingUp()
|
boolean |
stopAllowed()
|
static ComponentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ComponentStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ComponentStatus INSTANTIATED
public static final ComponentStatus INITIALIZING
start()
method has been called but not yet completed.
public static final ComponentStatus RUNNING
start()
method has been completed and the component is running.
public static final ComponentStatus STOPPING
stop()
method has been called but has not yet completed.
public static final ComponentStatus TERMINATED
stop()
method has completed and the component has terminated.
public static final ComponentStatus FAILED
Method Detail |
---|
public static ComponentStatus[] values()
for (ComponentStatus c : ComponentStatus.values()) System.out.println(c);
public static ComponentStatus valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean needToDestroyFailedCache()
public boolean startAllowed()
public boolean needToInitializeBeforeStart()
public boolean stopAllowed()
public boolean allowInvocations()
public boolean startingUp()
public boolean isTerminated()
public boolean isStopping()
|
--> | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |