|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AepEngine.State>
com.neeve.aep.AepEngine.State
public static enum AepEngine.State
Enumerates an AEP engine's state.
Enum Constant Summary | |
---|---|
Init
Indicates an engine has been created but not started. |
|
Started
Indicates an engine has been started and is operational. |
|
Starting
Indicates an engine is being started. |
|
Stopped
Indicates that an engine has been stopped. |
|
Stopping
Indicates an engine is being stopped. |
Method Summary | |
---|---|
static AepEngine.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AepEngine.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 AepEngine.State Init
public static final AepEngine.State Starting
public static final AepEngine.State Started
A started engine does not indicate that its messaging has
been started. Whether an engine's messaging has been started
or not is indicated by its AepEngine.MessagingState
. For example,
a backup cluster instance may be started but will wait on
a role change to primary to start its messaging.
public static final AepEngine.State Stopping
public static final AepEngine.State Stopped
Method Detail |
---|
public static AepEngine.State[] values()
for (AepEngine.State c : AepEngine.State.values()) System.out.println(c);
public static AepEngine.State 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 null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |