Enum Class Stats.Metric

java.lang.Object
java.lang.Enum<Stats.Metric>
io.aleph.dirigiste.Stats.Metric
All Implemented Interfaces:
Serializable, Comparable<Stats.Metric>, Constable
Enclosing class:
Stats

public static enum Stats.Metric extends Enum<Stats.Metric>
  • Enum Constant Details

    • QUEUE_LENGTH

      public static final Stats.Metric QUEUE_LENGTH
    • QUEUE_LATENCY

      public static final Stats.Metric QUEUE_LATENCY
    • TASK_LATENCY

      public static final Stats.Metric TASK_LATENCY
    • TASK_ARRIVAL_RATE

      public static final Stats.Metric TASK_ARRIVAL_RATE
    • TASK_COMPLETION_RATE

      public static final Stats.Metric TASK_COMPLETION_RATE
    • TASK_REJECTION_RATE

      public static final Stats.Metric TASK_REJECTION_RATE
    • UTILIZATION

      public static final Stats.Metric UTILIZATION
  • Method Details

    • values

      public static Stats.Metric[] 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 Stats.Metric 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