Enum Class Span.Kind

java.lang.Object
java.lang.Enum<Span.Kind>
io.helidon.tracing.Span.Kind
All Implemented Interfaces:
Serializable, Comparable<Span.Kind>, Constable
Enclosing interface:
Span

public static enum Span.Kind extends Enum<Span.Kind>
Span kind.
  • Enum Constant Details

    • INTERNAL

      public static final Span.Kind INTERNAL
      Internal span, not leaving the scope of the service.
    • SERVER

      public static final Span.Kind SERVER
      Server span kind, parent of a server interaction.
    • CLIENT

      public static final Span.Kind CLIENT
      Client span, should cover outbound request, where the span creator acts as a client.
    • PRODUCER

      public static final Span.Kind PRODUCER
      Producer span, in messaging.
    • CONSUMER

      public static final Span.Kind CONSUMER
      Consumer span, in messaging.
  • Method Details

    • values

      public static Span.Kind[] 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 Span.Kind 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