Uses of Interface
org.springframework.core.task.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.
Configuration support for WebSocket messaging using higher level messaging protocols.
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
Modifier and TypeInterfaceDescriptioninterface
Deprecated.interface
Extended interface for asynchronousTaskExecutor
implementations, offering support forCallable
.Modifier 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
Modifier and TypeClassDescriptionclass
Adapter that takes a JDKjava.util.concurrent.Executor
and exposes a SpringTaskExecutor
for it.ModifierConstructorDescriptionExecutorServiceAdapter
(TaskExecutor taskExecutor) Create a new ExecutorServiceAdapter, using the given target executor. -
Uses of TaskExecutor in org.springframework.jms.listener
Modifier and TypeMethodDescriptionprotected TaskExecutor
DefaultMessageListenerContainer.createDefaultTaskExecutor()
Create a default TaskExecutor. -
Uses of TaskExecutor in org.springframework.messaging.simp.config
Modifier and TypeMethodDescriptionAbstractMessageBrokerConfiguration.brokerChannelExecutor
(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) AbstractMessageBrokerConfiguration.clientInboundChannelExecutor()
AbstractMessageBrokerConfiguration.clientOutboundChannelExecutor()
protected TaskExecutor
ChannelRegistration.getTaskExecutor
(Supplier<TaskExecutor> fallback, Consumer<TaskExecutor> customizer) Return theTaskExecutor
to use.Modifier and TypeMethodDescriptionAbstractMessageBrokerConfiguration.brokerChannel
(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, TaskExecutor executor) AbstractMessageBrokerConfiguration.clientInboundChannel
(TaskExecutor executor) AbstractMessageBrokerConfiguration.clientOutboundChannel
(TaskExecutor executor) ChannelRegistration.executor
(TaskExecutor taskExecutor) Configure the givenTaskExecutor
for this message channel, taking precedence over a task executor registration if any.Modifier and TypeMethodDescriptionprotected TaskExecutor
ChannelRegistration.getTaskExecutor
(Supplier<TaskExecutor> fallback, Consumer<TaskExecutor> customizer) Return theTaskExecutor
to use.protected TaskExecutor
ChannelRegistration.getTaskExecutor
(Supplier<TaskExecutor> fallback, Consumer<TaskExecutor> customizer) Return theTaskExecutor
to use. -
Uses of TaskExecutor in org.springframework.scheduling
Modifier and TypeInterfaceDescriptioninterface
ATaskExecutor
extension exposing scheduling characteristics that are relevant to potential task submitters. -
Uses of TaskExecutor 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 TaskExecutor in org.springframework.scheduling.config
Modifier and TypeMethodDescriptionClass<? extends TaskExecutor>
TaskExecutorFactoryBean.getObjectType()
-
Uses of TaskExecutor 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 TaskExecutor in org.springframework.web.servlet.mvc.method.annotation
ModifierConstructorDescriptionResponseBodyEmitterReturnValueHandler
(List<HttpMessageConverter<?>> messageConverters, ReactiveAdapterRegistry registry, TaskExecutor executor, ContentNegotiationManager manager) Complete constructor with pluggable "reactive" type support. -
Uses of TaskExecutor in org.springframework.web.socket.client.standard
Modifier and TypeMethodDescriptionAnnotatedEndpointConnectionManager.getTaskExecutor()
Return the configuredTaskExecutor
.EndpointConnectionManager.getTaskExecutor()
Return the configuredTaskExecutor
.Modifier 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
Modifier and TypeMethodDescriptionvoid
WebSocketMessageBrokerStats.setInboundChannelExecutor
(TaskExecutor inboundChannelExecutor) void
WebSocketMessageBrokerStats.setOutboundChannelExecutor
(TaskExecutor outboundChannelExecutor) -
Uses of TaskExecutor in org.springframework.web.socket.config.annotation
Modifier and TypeMethodDescriptionWebSocketMessageBrokerConfigurationSupport.webSocketMessageBrokerStats
(AbstractBrokerMessageHandler stompBrokerRelayMessageHandler, WebSocketHandler subProtocolWebSocketHandler, TaskExecutor inboundExecutor, TaskExecutor outboundExecutor, TaskScheduler scheduler) -
Uses of TaskExecutor in org.springframework.web.socket.sockjs.client
Modifier and TypeMethodDescriptionRestTemplateXhrTransport.getTaskExecutor()
Return the configuredTaskExecutor
.Modifier and TypeMethodDescriptionvoid
RestTemplateXhrTransport.setTaskExecutor
(TaskExecutor taskExecutor) Configure theTaskExecutor
to use to execute XHR receive requests.
AsyncTaskExecutor.submitCompletable(Runnable)
andAsyncTaskExecutor.submitCompletable(Callable)