Class ThresholdLogReference


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

      • 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.
      • type

        public String type()
        Returns the type of reference.