@Singleton @Requires(beans=io.opentracing.Tracer.class) @Requires(property="tracing.instrument-threads",value="true",defaultValue="false") public class ExecutorServiceInstrumenter extends Object implements BeanCreatedEventListener<ExecutorService>
Tracer.| Modifier and Type | Field and Description | 
|---|---|
static String | 
PROPERTY_INSTRUMENT_THREADS
Whether to instrument threads. 
 | 
| Constructor and Description | 
|---|
ExecutorServiceInstrumenter(io.opentracing.Tracer tracer)
Creates a new  
ExecutorServiceInstrumenter. | 
| Modifier and Type | Method and Description | 
|---|---|
ExecutorService | 
onCreated(BeanCreatedEvent<ExecutorService> event)
Fired when a bean is created and all  
PostConstruct initialization hooks have been
 called. | 
public static final String PROPERTY_INSTRUMENT_THREADS
public ExecutorServiceInstrumenter(io.opentracing.Tracer tracer)
ExecutorServiceInstrumenter.tracer - The tracerpublic ExecutorService onCreated(BeanCreatedEvent<ExecutorService> event)
BeanCreatedEventListenerPostConstruct initialization hooks have been
 called.onCreated in interface BeanCreatedEventListener<ExecutorService>event - The bean created event