com.neeve.aep
Enum AepEngine.PerTransactionStatsLoggingPolicy

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

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

Enumerates an engine's transaction stats logging policy.

This enumerates the policy that determines if and where to log transaction stats (when transaction stats recording is enabled).

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


Enum Constant Summary
Off
          Disable transaction stats logging.
UseDedicated
          Use a logger dedicated to transaction stats logging.
 
Method Summary
static AepEngine.PerTransactionStatsLoggingPolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AepEngine.PerTransactionStatsLoggingPolicy[] 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

Off

public static final AepEngine.PerTransactionStatsLoggingPolicy Off
Disable transaction stats logging.

With this policy, transaction stats logging is disabled.

This is the default policy.


UseDedicated

public static final AepEngine.PerTransactionStatsLoggingPolicy UseDedicated
Use a logger dedicated to transaction stats logging.

With this policy, the engine uses a logger dedicated to logging transaction stats.

Method Detail

values

public static AepEngine.PerTransactionStatsLoggingPolicy[] 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.PerTransactionStatsLoggingPolicy c : AepEngine.PerTransactionStatsLoggingPolicy.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.PerTransactionStatsLoggingPolicy 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.