com.endeca.portal.instrumentation
Enum MetricType

java.lang.Object
  extended by java.lang.Enum<MetricType>
      extended by com.endeca.portal.instrumentation.MetricType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MetricType>

public enum MetricType
extends java.lang.Enum<MetricType>

enum holding the different types of profiling we support

Author:
dan

Enum Constant Summary
CLIENT
          represents a client execution
CONFIG_SERVICE_QUERY
          represents a Config Service query sent to the engine
DISCOVERY_SERVICE_QUERY
          represents an Discovery Service query sent to the engine and satisfied from the engine
LQL_PARSER_SERVICE_QUERY
          represents a LQL Parser Service query sent to the engine
MDEX_QUERY
          represents an MDEX Engine query sent to the engine and satisfied from the engine
PORTLET_ACTION
           
PORTLET_RENDER
          represents a portlet execution, of any PortletMode.
PORTLET_RESOURCE
           
SCONFIG_SERVICE_QUERY
          represents a SConfig Service query sent to the engine
 
Method Summary
static MetricType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MetricType[] 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

PORTLET_RENDER

public static final MetricType PORTLET_RENDER
represents a portlet execution, of any PortletMode.


PORTLET_ACTION

public static final MetricType PORTLET_ACTION

PORTLET_RESOURCE

public static final MetricType PORTLET_RESOURCE

CLIENT

public static final MetricType CLIENT
represents a client execution


MDEX_QUERY

public static final MetricType MDEX_QUERY
represents an MDEX Engine query sent to the engine and satisfied from the engine


DISCOVERY_SERVICE_QUERY

public static final MetricType DISCOVERY_SERVICE_QUERY
represents an Discovery Service query sent to the engine and satisfied from the engine


CONFIG_SERVICE_QUERY

public static final MetricType CONFIG_SERVICE_QUERY
represents a Config Service query sent to the engine


SCONFIG_SERVICE_QUERY

public static final MetricType SCONFIG_SERVICE_QUERY
represents a SConfig Service query sent to the engine


LQL_PARSER_SERVICE_QUERY

public static final MetricType LQL_PARSER_SERVICE_QUERY
represents a LQL Parser Service query sent to the engine

Method Detail

values

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

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

valueOf

public static MetricType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null