Enum MetricType

java.lang.Object
java.lang.Enum<MetricType>
com.netcracker.profiler.agent.MetricType
All Implemented Interfaces:
Serializable, Comparable<MetricType>, java.lang.constant.Constable

public enum MetricType extends Enum<MetricType>
  • Enum Constant Details

    • COUNT

      public static final MetricType COUNT
    • DURATION

      public static final MetricType DURATION
    • CPU

      public static final MetricType CPU
    • QUEUE_WAIT_TIME

      public static final MetricType QUEUE_WAIT_TIME
    • TRANSACTIONS

      public static final MetricType TRANSACTIONS
    • DISK_IO

      public static final MetricType DISK_IO
    • NETWORK_IO

      public static final MetricType NETWORK_IO
    • MEMORY

      public static final MetricType MEMORY
    • PROFILER_DIRTY_BUFFERS

      public static final MetricType PROFILER_DIRTY_BUFFERS
    • PROFILER_EMPTY_BUFFERS

      public static final MetricType PROFILER_EMPTY_BUFFERS
  • Method Details

    • values

      public static MetricType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MetricType 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
    • getOutputName

      public String getOutputName()
    • getConfigName

      public String getConfigName()
    • getByConfigName

      public static MetricType getByConfigName(String name)