Enum Class RoutingStats.StatDef

java.lang.Object
java.lang.Enum<RoutingStats.StatDef>
org.distributeme.core.stats.RoutingStats.StatDef
All Implemented Interfaces:
Serializable, Comparable<RoutingStats.StatDef>, Constable
Enclosing class:
RoutingStats

public static enum RoutingStats.StatDef extends Enum<RoutingStats.StatDef>
  • Enum Constant Details

    • RequestRoutedTo

      public static final RoutingStats.StatDef RequestRoutedTo
      How many requests has been directed to this router.
    • FailedCall

      public static final RoutingStats.StatDef FailedCall
      How many calls has failed.
    • FailDecision

      public static final RoutingStats.StatDef FailDecision
      How many fail decisions have been returned.
    • RetryDecision

      public static final RoutingStats.StatDef RetryDecision
      How many retry decisions have been returned.
    • Blacklisted

      public static final RoutingStats.StatDef Blacklisted
      How many instances have been blacklisted.
  • Method Details

    • values

      public static RoutingStats.StatDef[] 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 RoutingStats.StatDef 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
    • getStatName

      public String getStatName()
    • getStatNames

      public static List<String> getStatNames()
    • getValueByName

      public static RoutingStats.StatDef getValueByName(String statName)