Package org.springframework.boot.task
Interface TaskSchedulerCustomizer
- 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 TaskSchedulerCustomizer
Deprecated, for removal: This API element is subject to removal in a future version.
Callback interface that can be used to customize a
ThreadPoolTaskScheduler
.- Since:
- 2.1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler) Deprecated, for removal: This API element is subject to removal in a future version.Callback to customize aThreadPoolTaskScheduler
instance.
-
Method Details
-
customize
void customize(org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler) Deprecated, for removal: This API element is subject to removal in a future version.Callback to customize aThreadPoolTaskScheduler
instance.- Parameters:
taskScheduler
- the task scheduler to customize
-
ThreadPoolTaskSchedulerCustomizer