com.neeve.aep
Enum AepEngine.PerTransactionStatsLoggingFailurePolicy

java.lang.Object
  extended by java.lang.Enum<AepEngine.PerTransactionStatsLoggingFailurePolicy>
      extended by com.neeve.aep.AepEngine.PerTransactionStatsLoggingFailurePolicy
All Implemented Interfaces:
Serializable, Comparable<AepEngine.PerTransactionStatsLoggingFailurePolicy>
Enclosing class:
AepEngine

public static enum AepEngine.PerTransactionStatsLoggingFailurePolicy
extends Enum<AepEngine.PerTransactionStatsLoggingFailurePolicy>

Enumerates policies for handling transaction stats logging failures.

This enumerates the policy that determines what to do in the event of a transaction stats logging failure.

Transaction stats logging is an experimental feature and is subject to change without notice.


Enum Constant Summary
StopEngine
          This policy specifies that a failure in transaction stats logging will be treated as a failure which will result in shutdown of the engine.
StopLogging
          This policy specifies that transaction stats logging errors will be trapped and cause the engine to discontinue transaction stats message logging.
 
Method Summary
static AepEngine.PerTransactionStatsLoggingFailurePolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AepEngine.PerTransactionStatsLoggingFailurePolicy[] 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

StopLogging

public static final AepEngine.PerTransactionStatsLoggingFailurePolicy StopLogging
This policy specifies that transaction stats logging errors will be trapped and cause the engine to discontinue transaction stats message logging.

This is the default policy.


StopEngine

public static final AepEngine.PerTransactionStatsLoggingFailurePolicy StopEngine
This policy specifies that a failure in transaction stats logging will be treated as a failure which will result in shutdown of the engine.

Method Detail

values

public static AepEngine.PerTransactionStatsLoggingFailurePolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AepEngine.PerTransactionStatsLoggingFailurePolicy c : AepEngine.PerTransactionStatsLoggingFailurePolicy.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AepEngine.PerTransactionStatsLoggingFailurePolicy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.