lumis.portal.monitor
Enum IMonitor.Setting

Package class diagram package IMonitor.Setting
java.lang.Object
  extended by java.lang.Enum<IMonitor.Setting>
      extended by lumis.portal.monitor.IMonitor.Setting
All Implemented Interfaces:
Serializable, Comparable<IMonitor.Setting>
Enclosing interface:
IMonitor

@StableMinor(version="6.2",
             sinceVersion="4.1")
public static enum IMonitor.Setting
extends Enum<IMonitor.Setting>

Settings that affect how the monitor collects data.

Since:
4.1.0
See Also:
IMonitor

Enum Constant Summary
COLLECT_EVEN_IF_TRANSACTION_ROLLS_BACK
          Collect the measure data even if the bounded transaction rolls back.
COLLECT_TO_INSTANT_BOUND_EVENT_DATA
          Collect the measure data to the EventData found based on the collected measure's time instant.
COLLECT_TO_MONITOR_BOUND_EVENT_DATA
          Collect the measure data to the current bound EventData.
 
Method Summary
static IMonitor.Setting valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IMonitor.Setting[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

COLLECT_TO_MONITOR_BOUND_EVENT_DATA

public static final IMonitor.Setting COLLECT_TO_MONITOR_BOUND_EVENT_DATA
Collect the measure data to the current bound EventData. This setting and COLLECT_TO_INSTANT_BOUND_EVENT_DATA are mutually exclusive.

Since:
4.1.0

COLLECT_TO_INSTANT_BOUND_EVENT_DATA

public static final IMonitor.Setting COLLECT_TO_INSTANT_BOUND_EVENT_DATA
Collect the measure data to the EventData found based on the collected measure's time instant. This setting and COLLECT_TO_MONITOR_BOUND_EVENT_DATA are mutually exclusive.

Since:
4.1.0

COLLECT_EVEN_IF_TRANSACTION_ROLLS_BACK

public static final IMonitor.Setting COLLECT_EVEN_IF_TRANSACTION_ROLLS_BACK
Collect the measure data even if the bounded transaction rolls back. If this setting is not present, the collected measures data are discarded if the transaction rolls back.

If no transaction is bounded, this setting is ignored.

Since:
4.1.0
Method Detail

values

public static IMonitor.Setting[] 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 (IMonitor.Setting c : IMonitor.Setting.values())
    System.out.println(c);

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

valueOf

public static IMonitor.Setting 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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.