Uses of Interface
org.springframework.core.task.TaskDecorator
Package
Description
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
Support classes for Spring's TaskExecutor abstraction.
Scheduling convenience classes for the
java.util.concurrent
and jakarta.enterprise.concurrent
packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context.-
Uses of TaskDecorator in org.springframework.core.task
Modifier and TypeMethodDescriptionvoid
SimpleAsyncTaskExecutor.setTaskDecorator
(TaskDecorator taskDecorator) Specify a customTaskDecorator
to be applied to anyRunnable
about to be executed. -
Uses of TaskDecorator in org.springframework.core.task.support
Modifier and TypeMethodDescriptionprotected void
TaskExecutorAdapter.doExecute
(Executor concurrentExecutor, TaskDecorator taskDecorator, Runnable runnable) Actually execute the givenRunnable
(which may be a user-supplied task or a wrapper around a user-supplied task) with the given executor.final void
TaskExecutorAdapter.setTaskDecorator
(TaskDecorator taskDecorator) Specify a customTaskDecorator
to be applied to anyRunnable
about to be executed. -
Uses of TaskDecorator in org.springframework.scheduling.concurrent
Modifier and TypeMethodDescriptionfinal void
ConcurrentTaskExecutor.setTaskDecorator
(TaskDecorator taskDecorator) Specify a customTaskDecorator
to be applied to anyRunnable
about to be executed.void
ThreadPoolTaskExecutor.setTaskDecorator
(TaskDecorator taskDecorator) Specify a customTaskDecorator
to be applied to anyRunnable
about to be executed.