Class ThresholdLogReference

java.lang.Object
com.couchbase.client.core.tracing.ThresholdLogReference

public class ThresholdLogReference
extends Object
Represents a reference from one span to another one.
Since:
1.6.0
Author:
Michael Nitschinger
  • Method Details

    • childOf

      public static ThresholdLogReference childOf​(ThresholdLogSpanContext spanContext)
      Creates a reference which represents the child of the given context.
      Parameters:
      spanContext - the context.
      Returns:
      a reference representing this relationship.
    • followsFrom

      public static ThresholdLogReference followsFrom​(ThresholdLogSpanContext spanContext)
      Creates a reference which represents the follower of the given context.
      Parameters:
      spanContext - the context.
      Returns:
      a reference representing this relationship.
    • spanContext

      public ThresholdLogSpanContext spanContext()
      Returns the current span context.
    • type

      public String type()
      Returns the type of reference.