Class LatestActiveParentResolver


  • public class LatestActiveParentResolver
    extends AbstractParentResolver
    Resolves the latest active span, as the parent.
    • Constructor Detail

      • LatestActiveParentResolver

        public LatestActiveParentResolver()
    • Method Detail

      • resolveParent

        public static SpanWrapper resolveParent​(SpanStore spanStore)
        Resolves the latest active span as the parent.
        Parameters:
        spanStore - The span store object.
        Returns:
        Resolved parent span wrapper.
      • resolveParentForEndpointOrInboundEndpoint

        public static SpanWrapper resolveParentForEndpointOrInboundEndpoint​(SpanStore spanStore)
        Resolves the latest active span wrapper - which is either a Call mediator, a Send mediator, or a flow continuable mediator, as the parent span wrapper for endpoints or inbound endpoints.
        Parameters:
        spanStore - The span store object.
        Returns:
        Resolved parent span wrapper.