Class LazyTraceAsyncCustomizer
- java.lang.Object
-
- org.springframework.scheduling.annotation.AsyncConfigurerSupport
-
- org.springframework.cloud.sleuth.instrument.async.LazyTraceAsyncCustomizer
-
- All Implemented Interfaces:
org.springframework.scheduling.annotation.AsyncConfigurer
public class LazyTraceAsyncCustomizer extends org.springframework.scheduling.annotation.AsyncConfigurerSupportAsyncConfigurerSupportthat creates a tracing data passing version of theExecutor.- Since:
- 1.0.0
- Author:
- Dave Syer
-
-
Constructor Summary
Constructors Constructor Description LazyTraceAsyncCustomizer(org.springframework.beans.factory.BeanFactory beanFactory, org.springframework.scheduling.annotation.AsyncConfigurer delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorgetAsyncExecutor()org.springframework.aop.interceptor.AsyncUncaughtExceptionHandlergetAsyncUncaughtExceptionHandler()
-
-
-
Method Detail
-
getAsyncExecutor
public Executor getAsyncExecutor()
- Specified by:
getAsyncExecutorin interfaceorg.springframework.scheduling.annotation.AsyncConfigurer- Overrides:
getAsyncExecutorin classorg.springframework.scheduling.annotation.AsyncConfigurerSupport
-
getAsyncUncaughtExceptionHandler
public org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
- Specified by:
getAsyncUncaughtExceptionHandlerin interfaceorg.springframework.scheduling.annotation.AsyncConfigurer- Overrides:
getAsyncUncaughtExceptionHandlerin classorg.springframework.scheduling.annotation.AsyncConfigurerSupport
-
-