Interface TraceContextListener

  • All Known Implementing Classes:
    Log4jMdcProvider, Slf4jMdcProvider

    public interface TraceContextListener
    A listener that gets notified when trace contexts are started and closed. Implementations should be very quick.
    • Method Detail

      • contextOpened

        void contextOpened​(TraceContext context)
        Called when a trace context was opened.
        Parameters:
        context - the trace context
      • contextClosed

        void contextClosed​(TraceContext context)
        Called when a trace context was closed.
        Parameters:
        context - the trace context