Enum Class NettyDnsMetricsDoc

java.lang.Object
java.lang.Enum<NettyDnsMetricsDoc>
io.atomix.cluster.messaging.impl.NettyDnsMetricsDoc
All Implemented Interfaces:
ExtendedMeterDocumentation, io.micrometer.core.instrument.docs.MeterDocumentation, Serializable, Comparable<NettyDnsMetricsDoc>, Constable

public enum NettyDnsMetricsDoc extends Enum<NettyDnsMetricsDoc> implements ExtendedMeterDocumentation
  • Enum Constant Details

    • ERROR

      public static final NettyDnsMetricsDoc ERROR
      Counts how often DNS queries fail with an error
    • FAILED

      public static final NettyDnsMetricsDoc FAILED
      Counts how often DNS queries return an unsuccessful answer
    • WRITTEN

      public static final NettyDnsMetricsDoc WRITTEN
      Counts how often DNS queries are written
    • SUCCESS

      public static final NettyDnsMetricsDoc SUCCESS
      Counts how often DNS queries are successful
  • Method Details

    • values

      public static NettyDnsMetricsDoc[] 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 NettyDnsMetricsDoc 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