Package org.springframework.boot.task
Interface TaskExecutorCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface that can be used to customize a
ThreadPoolTaskExecutor
.- Since:
- 2.1.0
- Author:
- Stephane Nicoll
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(ThreadPoolTaskExecutor taskExecutor) Callback to customize aThreadPoolTaskExecutor
instance.
-
Method Details
-
customize
Callback to customize aThreadPoolTaskExecutor
instance.- Parameters:
taskExecutor
- the task executor to customize
-