Class SimpleAsyncTaskExecutorBuilder

java.lang.Object
org.springframework.boot.task.SimpleAsyncTaskExecutorBuilder

public class SimpleAsyncTaskExecutorBuilder extends Object
Builder that can be used to configure and create a SimpleAsyncTaskExecutor. Provides convenience methods to set common SimpleAsyncTaskExecutor settings and register taskDecorator(TaskDecorator)). For advanced configuration, consider using SimpleAsyncTaskExecutorCustomizer.

In a typical auto-configured Spring Boot application this builder is available as a bean and can be injected whenever a SimpleAsyncTaskExecutor is needed.

Since:
3.2.0
Author:
Stephane Nicoll, Filip Hrisafov, Moritz Halbritter