Uses of Interface
org.springframework.core.task.AsyncTaskExecutor
Package
Description
Provides miscellaneous interceptor implementations.
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
Support classes for Spring's TaskExecutor abstraction.
Package providing integration of
Hibernate 5.x
with Spring concepts.
Package providing integration of JPA (Java Persistence API) with Spring concepts.
General exceptions for Spring's scheduling support,
independent of any specific scheduling system.
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.Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
Support for asynchronous request processing.
Spring WebFlux configuration infrastructure.
Annotation-based setup for Spring MVC.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Client-side classes for use with standard Jakarta WebSocket endpoints.
-
Uses of AsyncTaskExecutor in org.springframework.aop.interceptor
Modifier and TypeMethodDescriptionprotected AsyncTaskExecutor
AsyncExecutionAspectSupport.determineAsyncExecutor
(Method method) Determine the specific executor to use when executing the given method. -
Uses of AsyncTaskExecutor in org.springframework.core.task
Modifier and TypeClassDescriptionclass
TaskExecutor
implementation that fires up a new Thread for each task, executing it asynchronously.class
ATaskExecutor
implementation based on virtual threads in JDK 21+. -
Uses of AsyncTaskExecutor in org.springframework.core.task.support
Modifier and TypeClassDescriptionclass
Adapter that takes a JDKjava.util.concurrent.Executor
and exposes a SpringTaskExecutor
for it. -
Uses of AsyncTaskExecutor in org.springframework.orm.hibernate5
Modifier and TypeMethodDescriptionLocalSessionFactoryBuilder.buildSessionFactory
(AsyncTaskExecutor bootstrapExecutor) Build the HibernateSessionFactory
through background bootstrapping, using the given executor for a parallel initialization phase (e.g.void
LocalSessionFactoryBean.setBootstrapExecutor
(AsyncTaskExecutor bootstrapExecutor) Specify an asynchronous executor for background bootstrapping, e.g. -
Uses of AsyncTaskExecutor in org.springframework.orm.jpa
Modifier and TypeMethodDescriptionAbstractEntityManagerFactoryBean.getBootstrapExecutor()
Return the asynchronous executor for background bootstrapping, if any.Modifier and TypeMethodDescriptionvoid
AbstractEntityManagerFactoryBean.setBootstrapExecutor
(AsyncTaskExecutor bootstrapExecutor) Specify an asynchronous executor for background bootstrapping, e.g. -
Uses of AsyncTaskExecutor in org.springframework.scheduling
Modifier and TypeInterfaceDescriptioninterface
ATaskExecutor
extension exposing scheduling characteristics that are relevant to potential task submitters. -
Uses of AsyncTaskExecutor in org.springframework.scheduling.concurrent
Modifier and TypeClassDescriptionclass
Adapter that takes ajava.util.concurrent.Executor
and exposes a SpringTaskExecutor
for it.class
Adapter that takes ajava.util.concurrent.ScheduledExecutorService
and exposes a SpringTaskScheduler
for it.class
JNDI-based variant ofConcurrentTaskExecutor
, performing a default lookup for JSR-236's "java:comp/DefaultManagedExecutorService" in a Jakarta EE/8 environment.class
JNDI-based variant ofConcurrentTaskScheduler
, performing a default lookup for JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Jakarta EE environment.class
A simple implementation of Spring'sTaskScheduler
interface, using a single scheduler thread and executing every scheduled task in an individual separate thread.class
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor
.class
A standard implementation of Spring'sTaskScheduler
interface, wrapping a nativeScheduledThreadPoolExecutor
and providing all applicable configuration options for it. -
Uses of AsyncTaskExecutor in org.springframework.scheduling.quartz
Modifier and TypeClassDescriptionclass
Subclass of Quartz's SimpleThreadPool that implements Spring'sTaskExecutor
interface and listens to Spring lifecycle callbacks. -
Uses of AsyncTaskExecutor in org.springframework.web.context.request.async
Modifier and TypeMethodDescriptionWebAsyncTask.getExecutor()
Return the AsyncTaskExecutor to use for concurrent handling, ornull
if none specified.Modifier and TypeMethodDescriptionvoid
WebAsyncManager.setTaskExecutor
(AsyncTaskExecutor taskExecutor) Configure an AsyncTaskExecutor for use with concurrent processing viaWebAsyncManager.startCallableProcessing(Callable, Object...)
.ModifierConstructorDescriptionWebAsyncTask
(Long timeout, AsyncTaskExecutor executor, Callable<V> callable) Create aWebAsyncTask
with a timeout value, an executor instance, and a Callable. -
Uses of AsyncTaskExecutor in org.springframework.web.reactive.config
Modifier and TypeMethodDescriptionprotected AsyncTaskExecutor
BlockingExecutionConfigurer.getExecutor()
Modifier and TypeMethodDescriptionBlockingExecutionConfigurer.setExecutor
(AsyncTaskExecutor executor) Configure an executor to invoke blocking controller methods with. -
Uses of AsyncTaskExecutor in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionprotected AsyncTaskExecutor
AsyncSupportConfigurer.getTaskExecutor()
Modifier and TypeMethodDescriptionAsyncSupportConfigurer.setTaskExecutor
(AsyncTaskExecutor taskExecutor) The provided task executor is used for the following: HandleCallable
controller method return values. -
Uses of AsyncTaskExecutor in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeMethodDescriptionvoid
RequestMappingHandlerAdapter.setTaskExecutor
(AsyncTaskExecutor taskExecutor) Set the defaultAsyncTaskExecutor
to use when a controller method return aCallable
. -
Uses of AsyncTaskExecutor in org.springframework.web.socket.client.standard
Modifier and TypeMethodDescriptionStandardWebSocketClient.getTaskExecutor()
Return the configuredAsyncTaskExecutor
.Modifier and TypeMethodDescriptionvoid
StandardWebSocketClient.setTaskExecutor
(AsyncTaskExecutor taskExecutor) Set anAsyncTaskExecutor
to use when opening connections.
submitCompletable(Runnable)
andsubmitCompletable(Callable)