Class BeamFnLoggingMDC


  • public class BeamFnLoggingMDC
    extends java.lang.Object
    Mapped diagnostic context to be consumed and set on LogEntry protos in BeamFnLoggingClient.
    • Constructor Detail

      • BeamFnLoggingMDC

        public BeamFnLoggingMDC()
    • Method Detail

      • setInstructionId

        public static void setInstructionId​(@Nullable java.lang.String newInstructionId)
        Sets the Instruction ID of the current thread, which will be inherited by child threads.
      • getInstructionId

        public static @Nullable java.lang.String getInstructionId()
        Gets the Instruction ID of the current thread.
      • setStateTracker

        public static void setStateTracker​(@Nullable ExecutionStateSampler.ExecutionStateTracker newStateTracker)
        Sets the State Tracker of the current thread, which will be inherited by child threads.
      • reset

        public static void reset()
        Resets to a default state.