- All Known Implementing Classes:
TracedCommand
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TraceContextProvider
Interface to obtain a
TraceContext allowing propagation of Tracer.Span TraceContexts across threads.- Since:
- 5.1
- Author:
- Mark Paluch
-
Method Summary
Modifier and Type Method Description TraceContextgetTraceContext()default Mono<TraceContext>getTraceContextLater()
-
Method Details
-
getTraceContext
TraceContext getTraceContext()- Returns:
- the
TraceContext.
-
getTraceContextLater
- Returns:
- the
TraceContext.
-