Interface MarkerMessage

  • All Superinterfaces:
    Message<MarkerMessage>
    All Known Implementing Classes:
    NullMarkerMessageImpl

    public interface MarkerMessage
    extends Message<MarkerMessage>

    Methods to set message fields specific to Markers.

    A MarkerMessage is a message sent to SAS to provide context about a trail. The marker may be used for correlating multiple trails into a trace or branch. It may also be used for searching for a trace in the SAS UI.

    Some markers have special meaning to the SAS server, the START, END and FLUSH markers indicate when a trail is started, when one is ended, and when no more data is expected in the next few seconds.

    Since:
    Rhino 2.6.0
    • Method Detail

      • associationScope

        MarkerMessage associationScope​(Scope scope)

        Sets the scope of the marker.

        Parameters:
        scope - whether the marker should associate on the branch or trace scope
        Returns:
        this to allow method chaining
      • setReactivationFlag

        MarkerMessage setReactivationFlag​(boolean reactivate)

        Sets the reactivation flag of the marker.

        Parameters:
        reactivate - whether the trail should be reactivated after the marker is sent
        Returns:
        this to allow method chaining