Class ContextThreadLocal

java.lang.Object
io.temporal.internal.context.ContextThreadLocal

public class ContextThreadLocal extends Object
This class holds the current set of context propagators
  • Constructor Details

    • ContextThreadLocal

      public ContextThreadLocal()
  • Method Details

    • setContextPropagators

      public static void setContextPropagators(List<ContextPropagator> propagators)
      Sets the list of context propagators for the thread
    • getContextPropagators

      public static List<ContextPropagator> getContextPropagators()
    • getCurrentContextForPropagation

      public static Map<String,Object> getCurrentContextForPropagation()
    • propagateContextToCurrentThread

      public static void propagateContextToCurrentThread(Map<String,Object> contextData)