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.
@FunctionalInterface
@Deprecated(since="3.2.0",
forRemoval=true)
public interface TaskExecutorCustomizer
Deprecated, for removal: This API element is subject to removal in a future version.
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) Deprecated, for removal: This API element is subject to removal in a future version.Callback to customize aThreadPoolTaskExecutor
instance.
-
Method Details
-
customize
Deprecated, for removal: This API element is subject to removal in a future version.Callback to customize aThreadPoolTaskExecutor
instance.- Parameters:
taskExecutor
- the task executor to customize
-
ThreadPoolTaskExecutorCustomizer