Package 

Class TagContextExtractor

    • Method Summary

      Modifier and Type Method Description
      void cleanup() Cleans up any thread local resources associated with this extractor.
      <C> TagContext extract(C carrier, AgentPropagation.ContextVisitor<C> getter) Extracts a propagated context from the given carrier using the provided getter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • cleanup

         void cleanup()

        Cleans up any thread local resources associated with this extractor.

        Implementations should override this method if they need to clean up any resources.

        Currently only used from tests.

      • extract

        @Nullable() <C> TagContext extract(C carrier, AgentPropagation.ContextVisitor<C> getter)

        Extracts a propagated context from the given carrier using the provided getter.

        Parameters:
        carrier - The carrier containing the propagated context.
        getter - The getter used to extract data from the carrier.