- 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 Summary
Modifier and TypeMethodDescriptionvoidcontextClosed(TraceContext context) Called when a trace context was closed.voidcontextOpened(TraceContext context) Called when a trace context was opened.
-
Method Details
-
contextOpened
Called when a trace context was opened.- Parameters:
context- the trace context
-
contextClosed
Called when a trace context was closed.- Parameters:
context- the trace context
-