|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AepEngine.InboundMessageLoggingPolicy>
com.neeve.aep.AepEngine.InboundMessageLoggingPolicy
public static enum AepEngine.InboundMessageLoggingPolicy
Enumerates an engine's inbound message logging policy.
This enumerates the policy that determines if and where to log inbound messages
Enum Constant Summary | |
---|---|
Default
Use the default inbound message logging policy. |
|
Off
Disable inbound message logging. |
|
UseDedicated
Use a dedicated log for inbound message logging. |
|
UserSupplied
Use a user supplied log for inbound message logging. |
Method Summary | |
---|---|
static AepEngine.InboundMessageLoggingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AepEngine.InboundMessageLoggingPolicy[] |
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.InboundMessageLoggingPolicy Default
The default inbound message logging policy is determined by the HA and persistence mode at play. With this policy, if event sourcing & cluster persistence are enabled, then inbound message logging is implictly switched on and inbound messages are logged through the store's persister. All other configurations switch off inbound message logging.
public static final AepEngine.InboundMessageLoggingPolicy Off
With this policy, inbound message logging is disabled.
This option is invalid for use with engines configured to be clustered and use Event Sourcing since, in that mode inbound messages are logged in the store's event log by virtue of inbound message replication.
This is the default policy with State Replication and Standalone mode of operation. The Standalone mode of operation is one where an engine has not been configured for HA i.e. configured without a store.
public static final AepEngine.InboundMessageLoggingPolicy UseDedicated
With this policy, the engine uses a dedicated logger to log inbound messages.
This option is invalid for use with engines configured to be clustered and use Event Sourcing since, in that mode inbound messages are logged in the store's event log by virtue of inbound message replication.
public static final AepEngine.InboundMessageLoggingPolicy UserSupplied
With this policy, the engine uses a user logger supplied
via AepEngine.setInboundMessageLogger(com.neeve.rog.IRogMessageLogger)
to log inbound messages.
This option is invalid for use with engines configured to be clustered and use Event Sourcing since, in that mode inbound messages are logged in the store's event log by virtue of inbound message replication.
Method Detail |
---|
public static AepEngine.InboundMessageLoggingPolicy[] values()
for (AepEngine.InboundMessageLoggingPolicy c : AepEngine.InboundMessageLoggingPolicy.values()) System.out.println(c);
public static AepEngine.InboundMessageLoggingPolicy 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 |