Enum Class SlobrokMetrics

java.lang.Object
java.lang.Enum<SlobrokMetrics>
com.yahoo.metrics.SlobrokMetrics
All Implemented Interfaces:
VespaMetrics, Serializable, Comparable<SlobrokMetrics>, Constable

public enum SlobrokMetrics extends Enum<SlobrokMetrics> implements VespaMetrics
Author:
yngve
  • Enum Constant Details

    • SLOBROK_HEARTBEATS_FAILED

      public static final SlobrokMetrics SLOBROK_HEARTBEATS_FAILED
    • SLOBROK_REQUESTS_REGISTER

      public static final SlobrokMetrics SLOBROK_REQUESTS_REGISTER
    • SLOBROK_REQUESTS_MIRROR

      public static final SlobrokMetrics SLOBROK_REQUESTS_MIRROR
    • SLOBROK_REQUESTS_ADMIN

      public static final SlobrokMetrics SLOBROK_REQUESTS_ADMIN
    • SLOBROK_MISSING_CONSENSUS

      public static final SlobrokMetrics SLOBROK_MISSING_CONSENSUS
  • Method Details

    • values

      public static SlobrokMetrics[] 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 SlobrokMetrics 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
    • baseName

      public String baseName()
      Specified by:
      baseName in interface VespaMetrics
    • unit

      public Unit unit()
      Specified by:
      unit in interface VespaMetrics
    • description

      public String description()
      Specified by:
      description in interface VespaMetrics