-
- All Known Implementing Classes:
Log4jMdcProvider,Slf4jMdcProvider
public interface TraceContextListenerA listener that gets notified when trace contexts are started and closed. Implementations should be very quick.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcontextClosed(TraceContext context)Called when a trace context was closed.voidcontextOpened(TraceContext context)Called when a trace context was opened.
-
-
-
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
-
-