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.AsyncConfigurerSupport
AsyncConfigurerSupport that creates a tracing data passing version of the Executor.
Since:
1.0.0
Author:
Dave Syer
  • Constructor Details

    • LazyTraceAsyncCustomizer

      public LazyTraceAsyncCustomizer(org.springframework.beans.factory.BeanFactory beanFactory, org.springframework.scheduling.annotation.AsyncConfigurer delegate)
  • Method Details

    • getAsyncExecutor

      public Executor getAsyncExecutor()
      Specified by:
      getAsyncExecutor in interface org.springframework.scheduling.annotation.AsyncConfigurer
      Overrides:
      getAsyncExecutor in class org.springframework.scheduling.annotation.AsyncConfigurerSupport
    • getAsyncUncaughtExceptionHandler

      public org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
      Specified by:
      getAsyncUncaughtExceptionHandler in interface org.springframework.scheduling.annotation.AsyncConfigurer
      Overrides:
      getAsyncUncaughtExceptionHandler in class org.springframework.scheduling.annotation.AsyncConfigurerSupport