@ Override public Runnable wrap ( Runnable runnable ) { if ( isTracing ( ) ) { return new SpanContinuingTraceRunnable ( this , this . traceKeys , this . spanNamer , runnable ) ; } return runnable ; }
Wrap the runnable in a TraceRunnable if tracing .