Class TracingDaemonPool.TracingRunnable

java.lang.Object
com.oracle.coherence.grpc.proxy.TracingDaemonPool.TracingRunnable
All Implemented Interfaces:
Runnable
Enclosing class:
TracingDaemonPool

protected static class TracingDaemonPool.TracingRunnable extends Object implements Runnable
A Runnable that executes another runnable after activating a tracing span.
  • Field Details

    • f_span

      protected final io.opentracing.Span f_span
      The Span.
    • f_delegate

      protected final Runnable f_delegate
    • f_lHash

      protected final long f_lHash
      The Runnable's hash.
  • Constructor Details

    • TracingRunnable

      protected TracingRunnable(io.opentracing.Span span, Runnable delegate)
      Constructs a new TracingRunnable for the provided span and Runnable delegate.
      Parameters:
      span - the Span to use
      delegate - the task to trace
  • Method Details

    • run

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

      protected Runnable getDelegate()
      Returns the Runnable delegate.
      Returns:
      the Runnable delegate