Uses of Class
org.springframework.util.CustomizableThreadCreator
Package
Description
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
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 CustomizableThreadCreator in org.springframework.core.task
Modifier and TypeClassDescriptionclass
TaskExecutor
implementation that fires up a new Thread for each task, executing it asynchronously. -
Uses of CustomizableThreadCreator in org.springframework.scheduling.concurrent
Modifier and TypeClassDescriptionclass
Implementation of theThreadFactory
interface, allowing for customizing the created threads (name, priority, etc).class
JNDI-based variant ofCustomizableThreadFactory
, performing a default lookup for JSR-236's "java:comp/DefaultManagedThreadFactory" in a Jakarta EE environment, falling back to the localCustomizableThreadFactory
setup if not found.class
Base class for setting up aExecutorService
(typically aThreadPoolExecutor
orScheduledThreadPoolExecutor
).class
FactoryBean
that sets up aScheduledExecutorService
(by default: aScheduledThreadPoolExecutor
) and exposes it for bean references.class
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorService
type.class
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor
.class
Implementation of Spring'sTaskScheduler
interface, wrapping a nativeScheduledThreadPoolExecutor
.