Enum Class SpanCategory

java.lang.Object
java.lang.Enum<SpanCategory>
org.infinispan.telemetry.SpanCategory
All Implemented Interfaces:
Serializable, Comparable<SpanCategory>, Constable

public enum SpanCategory extends Enum<SpanCategory>
  • Enum Constant Details

    • CONTAINER

      public static final SpanCategory CONTAINER
      Default Infinispan span category, which includes all the major put/insertion operations.
    • CLUSTER

      public static final SpanCategory CLUSTER
      Span category for cluster operations causally related by client interactions.
    • X_SITE

      public static final SpanCategory X_SITE
      Span category for x-site operations causally related by client interactions.
    • PERSISTENCE

      public static final SpanCategory PERSISTENCE
      Span category for persistence operations causally related by client interactions.
    • SECURITY

      public static final SpanCategory SECURITY
      Span category for security operations causally related by client interactions.
  • Method Details

    • values

      public static SpanCategory[] 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 SpanCategory 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SpanCategory>
    • fromString

      public static SpanCategory fromString(String value)