|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AepEngine.HAPolicy>
com.neeve.aep.AepEngine.HAPolicy
public static enum AepEngine.HAPolicy
Enumerates an engine's supported HA policies
Enum Constant Summary | |
---|---|
EventSourcing
HA policy in which source events are processed in parallel by all members in an engine cluster. |
|
StateReplication
HA policy where source events are processed by the primary and state changes triggered by the message processed are replicated to other cluster members. |
Method Summary | |
---|---|
static AepEngine.HAPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AepEngine.HAPolicy[] |
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.HAPolicy EventSourcing
public static final AepEngine.HAPolicy StateReplication
This is the default HA policy
Method Detail |
---|
public static AepEngine.HAPolicy[] values()
for (AepEngine.HAPolicy c : AepEngine.HAPolicy.values()) System.out.println(c);
public static AepEngine.HAPolicy 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 |