Enum Class MetricType

java.lang.Object
java.lang.Enum<MetricType>
de.codecentric.spring.boot.chaos.monkey.component.MetricType
All Implemented Interfaces:
Serializable, Comparable<MetricType>, Constable

public enum MetricType extends Enum<MetricType>
Author:
Benjamin Wilms
  • Enum Constant Details

    • CONTROLLER

      public static final MetricType CONTROLLER
    • RESTCONTROLLER

      public static final MetricType RESTCONTROLLER
    • REPOSITORY

      public static final MetricType REPOSITORY
    • COMPONENT

      public static final MetricType COMPONENT
    • SERVICE

      public static final MetricType SERVICE
    • BEAN

      public static final MetricType BEAN
    • LATENCY_ASSAULT

      public static final MetricType LATENCY_ASSAULT
    • EXCEPTION_ASSAULT

      public static final MetricType EXCEPTION_ASSAULT
    • KILLAPP_ASSAULT

      public static final MetricType KILLAPP_ASSAULT
    • APPLICATION_REQ_COUNT

      public static final MetricType APPLICATION_REQ_COUNT
    • MEMORY_ASSAULT

      public static final MetricType MEMORY_ASSAULT
    • MEMORY_ASSAULT_MEMORY_STOLEN

      public static final MetricType MEMORY_ASSAULT_MEMORY_STOLEN
    • CPU_ASSAULT

      public static final MetricType CPU_ASSAULT
  • Method Details

    • values

      public static MetricType[] 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 MetricType 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
    • getMetricName

      public String getMetricName()
    • isSignatureOnlyEvent

      public boolean isSignatureOnlyEvent()
    • isTagEvent

      public boolean isTagEvent()