Enum Class SentinelMetrics

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

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

    • SENTINEL_RESTARTS

      public static final SentinelMetrics SENTINEL_RESTARTS
    • SENTINEL_TOTAL_RESTARTS

      public static final SentinelMetrics SENTINEL_TOTAL_RESTARTS
    • SENTINEL_UPTIME

      public static final SentinelMetrics SENTINEL_UPTIME
    • SENTINEL_RUNNING

      public static final SentinelMetrics SENTINEL_RUNNING
  • Method Details

    • values

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