Interface InMemorySpanContextInjector<C>
- Type Parameters:
C
- the carrier type.
- All Known Subinterfaces:
InMemorySpanContextFormat<C>
- All Known Implementing Classes:
B3KeyValueFormatter
,SingleLineFormatter
public interface InMemorySpanContextInjector<C>
Used to inject
InMemorySpanContext
into a carrier of type InMemorySpanContextInjector
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
inject
(InMemorySpanContext context, C carrier) Inject a trace state into a carrier.
-
Method Details
-
inject
Inject a trace state into a carrier.- Parameters:
context
- span contextcarrier
- carrier to inject into
-