Package | Description |
---|---|
org.springframework.core.task |
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
|
org.springframework.core.task.support |
Support classes for Spring's TaskExecutor abstraction.
|
org.springframework.jca.work |
Convenience classes for scheduling based on the JCA WorkManager facility,
as supported within ResourceAdapters.
|
org.springframework.jms.listener |
This package contains the base message listener container facility.
|
org.springframework.messaging.simp.config |
Configuration support for WebSocket messaging using higher level messaging protocols.
|
org.springframework.scheduling |
General exceptions for Spring's scheduling support,
independent of any specific scheduling system.
|
org.springframework.scheduling.commonj |
Convenience classes for scheduling based on the CommonJ WorkManager/TimerManager
facility, as supported by IBM WebSphere 6.0+ and BEA WebLogic 9.0+.
|
org.springframework.scheduling.concurrent |
Scheduling convenience classes for the
java.util.concurrent
and javax.enterprise.concurrent packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context. |
org.springframework.scheduling.config |
Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
|
org.springframework.scheduling.quartz |
Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
org.springframework.web.socket.client.standard |
Client-side classes for use with standard Java WebSocket endpoints.
|
org.springframework.web.socket.config |
Configuration support for WebSocket request handling.
|
org.springframework.web.socket.config.annotation |
Support for annotation-based WebSocket setup in configuration classes.
|
org.springframework.web.socket.sockjs.client |
SockJS client implementation of
WebSocketClient . |
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncListenableTaskExecutor
Extension of the
AsyncTaskExecutor interface, adding the capability to submit
tasks for ListenableFutures . |
interface |
AsyncTaskExecutor
Extended interface for asynchronous
TaskExecutor implementations,
offering support for Callable . |
Modifier and Type | Class and Description |
---|---|
class |
SimpleAsyncTaskExecutor
TaskExecutor implementation that fires up a new Thread for each task,
executing it asynchronously. |
class |
SyncTaskExecutor
TaskExecutor implementation that executes each task synchronously
in the calling thread. |
Modifier and Type | Class and Description |
---|---|
class |
TaskExecutorAdapter
Adapter that takes a JDK
java.util.concurrent.Executor and
exposes a Spring TaskExecutor for it. |
Constructor and Description |
---|
ConcurrentExecutorAdapter(TaskExecutor taskExecutor)
Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor.
|
ExecutorServiceAdapter(TaskExecutor taskExecutor)
Create a new ExecutorServiceAdapter, using the given target executor.
|
Modifier and Type | Method and Description |
---|---|
protected long |
SimpleTaskWorkManager.executeWork(TaskExecutor taskExecutor,
Work work,
long startTimeout,
boolean blockUntilStarted,
ExecutionContext executionContext,
WorkListener workListener)
Execute the given Work on the specified TaskExecutor.
|
void |
SimpleTaskWorkManager.setSyncTaskExecutor(TaskExecutor syncTaskExecutor)
Specify the TaskExecutor to use for synchronous work execution
(i.e.
|
Modifier and Type | Method and Description |
---|---|
protected TaskExecutor |
DefaultMessageListenerContainer.createDefaultTaskExecutor()
Create a default TaskExecutor.
|
Modifier and Type | Method and Description |
---|---|
TaskExecutor |
AbstractMessageBrokerConfiguration.brokerChannelExecutor(AbstractSubscribableChannel clientInboundChannel,
AbstractSubscribableChannel clientOutboundChannel) |
TaskExecutor |
AbstractMessageBrokerConfiguration.clientInboundChannelExecutor() |
TaskExecutor |
AbstractMessageBrokerConfiguration.clientOutboundChannelExecutor() |
Modifier and Type | Method and Description |
---|---|
AbstractSubscribableChannel |
AbstractMessageBrokerConfiguration.brokerChannel(AbstractSubscribableChannel clientInboundChannel,
AbstractSubscribableChannel clientOutboundChannel,
TaskExecutor brokerChannelExecutor) |
AbstractSubscribableChannel |
AbstractMessageBrokerConfiguration.clientInboundChannel(TaskExecutor clientInboundChannelExecutor) |
AbstractSubscribableChannel |
AbstractMessageBrokerConfiguration.clientOutboundChannel(TaskExecutor clientOutboundChannelExecutor) |
Modifier and Type | Interface and Description |
---|---|
interface |
SchedulingTaskExecutor
A
TaskExecutor extension exposing
scheduling characteristics that are relevant to potential task submitters. |
Modifier and Type | Class and Description |
---|---|
class |
WorkManagerTaskExecutor
Deprecated.
as of 5.1, in favor of the EE 7/8 based
DefaultManagedTaskExecutor |
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentTaskExecutor
Adapter that takes a
java.util.concurrent.Executor and exposes
a Spring TaskExecutor for it. |
class |
ConcurrentTaskScheduler
Adapter that takes a
java.util.concurrent.ScheduledExecutorService and
exposes a Spring TaskScheduler for it. |
class |
DefaultManagedTaskExecutor
JNDI-based variant of
ConcurrentTaskExecutor , performing a default lookup for
JSR-236's "java:comp/DefaultManagedExecutorService" in a Java EE 7/8 environment. |
class |
DefaultManagedTaskScheduler
JNDI-based variant of
ConcurrentTaskScheduler , performing a default lookup for
JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Java EE 7 environment. |
class |
ThreadPoolTaskExecutor
JavaBean that allows for configuring a
ThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity"
properties) and exposing it as a Spring TaskExecutor . |
class |
ThreadPoolTaskScheduler
Implementation of Spring's
TaskScheduler interface, wrapping
a native ScheduledThreadPoolExecutor . |
Modifier and Type | Method and Description |
---|---|
TaskExecutor |
TaskExecutorFactoryBean.getObject() |
Modifier and Type | Method and Description |
---|---|
Class<? extends TaskExecutor> |
TaskExecutorFactoryBean.getObjectType() |
Modifier and Type | Class and Description |
---|---|
class |
SimpleThreadPoolTaskExecutor
Subclass of Quartz's SimpleThreadPool that implements Spring's
TaskExecutor interface
and listens to Spring lifecycle callbacks. |
Constructor and Description |
---|
ResponseBodyEmitterReturnValueHandler(List<HttpMessageConverter<?>> messageConverters,
ReactiveAdapterRegistry registry,
TaskExecutor executor,
ContentNegotiationManager manager)
Complete constructor with pluggable "reactive" type support.
|
Modifier and Type | Method and Description |
---|---|
TaskExecutor |
AnnotatedEndpointConnectionManager.getTaskExecutor()
Return the configured
TaskExecutor . |
TaskExecutor |
EndpointConnectionManager.getTaskExecutor()
Return the configured
TaskExecutor . |
Modifier and Type | Method and Description |
---|---|
void |
AnnotatedEndpointConnectionManager.setTaskExecutor(TaskExecutor taskExecutor)
Set a
TaskExecutor to use to open the connection. |
void |
EndpointConnectionManager.setTaskExecutor(TaskExecutor taskExecutor)
Set a
TaskExecutor to use to open connections. |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketMessageBrokerStats.setInboundChannelExecutor(TaskExecutor inboundChannelExecutor) |
void |
WebSocketMessageBrokerStats.setOutboundChannelExecutor(TaskExecutor outboundChannelExecutor) |
Modifier and Type | Method and Description |
---|---|
WebSocketMessageBrokerStats |
WebSocketMessageBrokerConfigurationSupport.webSocketMessageBrokerStats(AbstractBrokerMessageHandler stompBrokerRelayMessageHandler,
WebSocketHandler subProtocolWebSocketHandler,
TaskExecutor clientInboundChannelExecutor,
TaskExecutor clientOutboundChannelExecutor,
TaskScheduler messageBrokerTaskScheduler) |
Modifier and Type | Method and Description |
---|---|
TaskExecutor |
RestTemplateXhrTransport.getTaskExecutor()
Return the configured
TaskExecutor . |
Modifier and Type | Method and Description |
---|---|
void |
RestTemplateXhrTransport.setTaskExecutor(TaskExecutor taskExecutor)
Configure the
TaskExecutor to use to execute XHR receive requests. |