Enum Class MeterType

java.lang.Object
java.lang.Enum<MeterType>
io.micronaut.configuration.kafka.metrics.builder.MeterType
All Implemented Interfaces:
Serializable, Comparable<MeterType>, Constable

@Internal public enum MeterType extends Enum<MeterType>
Types of meters to be created for metrics.
Since:
1.4.1
Author:
Christian Oestreich
  • Enum Constant Details

    • GAUGE

      public static final MeterType GAUGE
    • FUNCTION_COUNTER

      public static final MeterType FUNCTION_COUNTER
    • TIME_GAUGE

      public static final MeterType TIME_GAUGE
  • Method Details

    • values

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

      public static MeterType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null