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 Type
    Method
    Description
    void
    inject(InMemorySpanContext context, C carrier)
    Inject a trace state into a carrier.
  • Method Details

    • inject

      void inject(InMemorySpanContext context, C carrier)
      Inject a trace state into a carrier.
      Parameters:
      context - span context
      carrier - carrier to inject into