@Singleton @Requires(beans=io.opentracing.Tracer.class) public class TracingRunnableInstrumenter extends Object implements Function<Runnable,Runnable>, RunnableInstrumenter, ReactiveInstrumenter
TracingRunnable.| Constructor and Description | 
|---|
| TracingRunnableInstrumenter(io.opentracing.Tracer tracer)Create a function that instrument an existing Runnable. | 
| Modifier and Type | Method and Description | 
|---|---|
| Runnable | apply(Runnable runnable) | 
| Runnable | instrument(Runnable command)Implementors can override to instrument a Runnable. | 
| Optional<RunnableInstrumenter> | newInstrumentation()An optional instrumentation. | 
public TracingRunnableInstrumenter(io.opentracing.Tracer tracer)
tracer - For span creation and propagation across arbitrary transportspublic Runnable instrument(Runnable command)
RunnableInstrumenterinstrument in interface RunnableInstrumentercommand - The command to instrumentpublic Optional<RunnableInstrumenter> newInstrumentation()
ReactiveInstrumenternewInstrumentation in interface ReactiveInstrumenter