Uses of Interface
org.springframework.core.task.TaskExecutor
Packages that use TaskExecutor
Package
Description
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
Support classes for Spring's TaskExecutor abstraction.
This package contains the base message listener container facility.
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 package for declarative scheduling configuration,
with XML schema being the primary configuration format.
Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
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.
Configuration support for WebSocket request handling.
Support for annotation-based WebSocket setup in configuration classes.
SockJS client implementation of
WebSocketClient
.-
Uses of TaskExecutor in org.springframework.core.task
Subinterfaces of TaskExecutor in org.springframework.core.taskModifier and TypeInterfaceDescriptioninterface
Deprecated.interface
Extended interface for asynchronousTaskExecutor
implementations, offering support forCallable
.Classes in org.springframework.core.task that implement TaskExecutorModifier and TypeClassDescriptionclass
TaskExecutor
implementation that fires up a new Thread for each task, executing it asynchronously.class
TaskExecutor
implementation that executes each task synchronously in the calling thread.class
ATaskExecutor
implementation based on virtual threads in JDK 21+. -
Uses of TaskExecutor in org.springframework.core.task.support
Classes in org.springframework.core.task.support that implement TaskExecutorModifier and TypeClassDescriptionclass
Adapter that takes a JDKjava.util.concurrent.Executor
and exposes a SpringTaskExecutor
for it.Constructors in org.springframework.core.task.support with parameters of type TaskExecutorModifierConstructorDescriptionExecutorServiceAdapter
(TaskExecutor taskExecutor) Create a new ExecutorServiceAdapter, using the given target executor. -
Uses of TaskExecutor in org.springframework.jms.listener
Methods in org.springframework.jms.listener that return TaskExecutorModifier and TypeMethodDescriptionprotected TaskExecutor
DefaultMessageListenerContainer.createDefaultTaskExecutor()
Create a default TaskExecutor. -
Uses of TaskExecutor in org.springframework.scheduling
Subinterfaces of TaskExecutor in org.springframework.schedulingModifier and TypeInterfaceDescriptioninterface
ATaskExecutor
extension exposing scheduling characteristics that are relevant to potential task submitters. -
Uses of TaskExecutor in org.springframework.scheduling.concurrent
Classes in org.springframework.scheduling.concurrent that implement TaskExecutorModifier 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 TaskExecutor in org.springframework.scheduling.config
Methods in org.springframework.scheduling.config that return TaskExecutorMethods in org.springframework.scheduling.config that return types with arguments of type TaskExecutorModifier and TypeMethodDescriptionClass<? extends TaskExecutor>
TaskExecutorFactoryBean.getObjectType()
-
Uses of TaskExecutor in org.springframework.scheduling.quartz
Classes in org.springframework.scheduling.quartz that implement TaskExecutorModifier and TypeClassDescriptionclass
Subclass of Quartz's SimpleThreadPool that implements Spring'sTaskExecutor
interface and listens to Spring lifecycle callbacks. -
Uses of TaskExecutor in org.springframework.web.servlet.mvc.method.annotation
Constructors in org.springframework.web.servlet.mvc.method.annotation with parameters of type TaskExecutorModifierConstructorDescriptionResponseBodyEmitterReturnValueHandler
(List<HttpMessageConverter<?>> messageConverters, ReactiveAdapterRegistry registry, TaskExecutor executor, ContentNegotiationManager manager) Constructor that with added arguments to customize "reactive" type support.ResponseBodyEmitterReturnValueHandler
(List<HttpMessageConverter<?>> messageConverters, ReactiveAdapterRegistry registry, TaskExecutor executor, ContentNegotiationManager manager, List<ViewResolver> viewResolvers, LocaleResolver localeResolver) Constructor that with added arguments for view rendering. -
Uses of TaskExecutor in org.springframework.web.socket.client.standard
Methods in org.springframework.web.socket.client.standard that return TaskExecutorModifier and TypeMethodDescriptionAnnotatedEndpointConnectionManager.getTaskExecutor()
Return the configuredTaskExecutor
.EndpointConnectionManager.getTaskExecutor()
Return the configuredTaskExecutor
.Methods in org.springframework.web.socket.client.standard with parameters of type TaskExecutorModifier and TypeMethodDescriptionvoid
AnnotatedEndpointConnectionManager.setTaskExecutor
(TaskExecutor taskExecutor) Set aTaskExecutor
to use to open the connection.void
EndpointConnectionManager.setTaskExecutor
(TaskExecutor taskExecutor) Set aTaskExecutor
to use to open connections. -
Uses of TaskExecutor in org.springframework.web.socket.config
Methods in org.springframework.web.socket.config with parameters of type TaskExecutorModifier and TypeMethodDescriptionvoid
WebSocketMessageBrokerStats.setInboundChannelExecutor
(TaskExecutor inboundChannelExecutor) void
WebSocketMessageBrokerStats.setOutboundChannelExecutor
(TaskExecutor outboundChannelExecutor) -
Uses of TaskExecutor in org.springframework.web.socket.config.annotation
Methods in org.springframework.web.socket.config.annotation with parameters of type TaskExecutorModifier and TypeMethodDescriptionWebSocketMessageBrokerConfigurationSupport.webSocketMessageBrokerStats
(AbstractBrokerMessageHandler stompBrokerRelayMessageHandler, WebSocketHandler subProtocolWebSocketHandler, TaskExecutor inboundExecutor, TaskExecutor outboundExecutor, TaskScheduler scheduler) -
Uses of TaskExecutor in org.springframework.web.socket.sockjs.client
Methods in org.springframework.web.socket.sockjs.client that return TaskExecutorModifier and TypeMethodDescriptionRestTemplateXhrTransport.getTaskExecutor()
Return the configuredTaskExecutor
.Methods in org.springframework.web.socket.sockjs.client with parameters of type TaskExecutorModifier and TypeMethodDescriptionvoid
RestTemplateXhrTransport.setTaskExecutor
(TaskExecutor taskExecutor) Configure theTaskExecutor
to use to execute XHR receive requests.
AsyncTaskExecutor.submitCompletable(Runnable)
andAsyncTaskExecutor.submitCompletable(Callable)