@Configuration
@ConditionalOnProperty(value="spring.sleuth.async.enabled",
matchIfMissing=true)
@ConditionalOnBean(value=brave.Tracing.class)
public class AsyncDefaultAutoConfiguration
extends Object
Auto-configuration
enabling async related processing.LazyTraceExecutor,
TraceAsyncAspect| Constructor and Description |
|---|
AsyncDefaultAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.cloud.sleuth.instrument.async.ExecutorBeanPostProcessor |
executorBeanPostProcessor(org.springframework.beans.factory.BeanFactory beanFactory) |
TraceAsyncAspect |
traceAsyncAspect(brave.Tracer tracer,
SpanNamer spanNamer) |
@Bean public TraceAsyncAspect traceAsyncAspect(brave.Tracer tracer, SpanNamer spanNamer)
@Bean public static org.springframework.cloud.sleuth.instrument.async.ExecutorBeanPostProcessor executorBeanPostProcessor(org.springframework.beans.factory.BeanFactory beanFactory)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.