Class TraceRunnable

  • All Implemented Interfaces:
    Runnable

    public abstract class TraceRunnable
    extends Object
    implements Runnable
    Wrapper of Runnable which incject tracing to execution.
    • Constructor Detail

      • TraceRunnable

        protected TraceRunnable​(Tracing tracing,
                                SpanType spanType)
        Parameters:
        tracing - Tracing processor.
        spanType - Span type to create.
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
      • execute

        public abstract void execute()
        Main code to execution.