Uses of Interface
org.springframework.scheduling.TaskScheduler
Package
Description
Provides a "simple" message broker implementation along with an abstract base
class and other supporting types such as a registry for subscriptions.
Configuration support for WebSocket messaging using higher level messaging protocols.
Generic support for simple messaging protocols (like STOMP).
Support for handling messages to "user" destinations (i.e.
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.
Configuration support for WebSocket request handling.
Support for annotation-based WebSocket setup in configuration classes.
WebSocket integration for Spring's messaging module.
SockJS client implementation of
WebSocketClient
.Support classes for SockJS including an
AbstractSockJsService
implementation.Server-side support for SockJS transports including
TransportHandler
implementations
for processing incoming requests, their
session
counterparts for sending messages over the various transports, and
DefaultSockJsService
.TransportHandler
implementation classes as well as a concrete
SockJsService
.-
Uses of TaskScheduler in org.springframework.messaging.simp.broker
Modifier and TypeMethodDescriptionSimpleBrokerMessageHandler.getTaskScheduler()
Return the configured TaskScheduler.Modifier and TypeMethodDescriptionvoid
SimpleBrokerMessageHandler.setTaskScheduler
(TaskScheduler taskScheduler) Configure theTaskScheduler
to use for providing heartbeat support. -
Uses of TaskScheduler in org.springframework.messaging.simp.config
Modifier and TypeMethodDescriptionAbstractMessageBrokerConfiguration.messageBrokerTaskScheduler()
Modifier and TypeMethodDescriptionSimpleBrokerRegistration.setTaskScheduler
(TaskScheduler taskScheduler) Configure theTaskScheduler
to use for providing heartbeat support.StompBrokerRelayRegistration.setTaskScheduler
(TaskScheduler taskScheduler) Some STOMP clients (e.g.AbstractMessageBrokerConfiguration.userRegistryMessageHandler
(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, SimpUserRegistry userRegistry, SimpMessagingTemplate brokerMessagingTemplate, TaskScheduler messageBrokerTaskScheduler) -
Uses of TaskScheduler in org.springframework.messaging.simp.stomp
Modifier and TypeMethodDescriptionDefaultStompSession.getTaskScheduler()
Return the configured TaskScheduler to use for receipt tracking.StompBrokerRelayMessageHandler.getTaskScheduler()
StompClientSupport.getTaskScheduler()
The configured TaskScheduler.Modifier and TypeMethodDescriptionvoid
DefaultStompSession.setTaskScheduler
(TaskScheduler taskScheduler) Configure the TaskScheduler to use for receipt tracking.void
StompBrokerRelayMessageHandler.setTaskScheduler
(TaskScheduler taskScheduler) Configure theTaskScheduler
to use to reset client-to-broker message count in the current heartbeat period.void
StompClientSupport.setTaskScheduler
(TaskScheduler taskScheduler) Configure a scheduler to use for heartbeats and for receipt tracking. -
Uses of TaskScheduler in org.springframework.messaging.simp.user
ModifierConstructorDescriptionUserRegistryMessageHandler
(MultiServerUserRegistry userRegistry, SimpMessagingTemplate brokerTemplate, String broadcastDestination, TaskScheduler scheduler) Constructor. -
Uses of TaskScheduler in org.springframework.scheduling.concurrent
Modifier and TypeClassDescriptionclass
Adapter that takes ajava.util.concurrent.ScheduledExecutorService
and exposes a SpringTaskScheduler
for it.class
JNDI-based variant ofConcurrentTaskScheduler
, performing a default lookup for JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Jakarta EE environment.class
Implementation of Spring'sTaskScheduler
interface, wrapping a nativeScheduledThreadPoolExecutor
. -
Uses of TaskScheduler in org.springframework.scheduling.config
Modifier and TypeMethodDescriptionScheduledTaskRegistrar.getScheduler()
Return theTaskScheduler
instance for this registrar (may benull
).Modifier and TypeMethodDescriptionvoid
ScheduledTaskRegistrar.setTaskScheduler
(TaskScheduler taskScheduler) Set theTaskScheduler
to register scheduled tasks with. -
Uses of TaskScheduler in org.springframework.web.socket.config
Modifier and TypeMethodDescriptionvoid
WebSocketMessageBrokerStats.setSockJsTaskScheduler
(TaskScheduler sockJsTaskScheduler) -
Uses of TaskScheduler in org.springframework.web.socket.config.annotation
Modifier and TypeMethodDescriptionprotected TaskScheduler
SockJsServiceRegistration.getTaskScheduler()
Return the TaskScheduler, if configured.Modifier and TypeMethodDescriptionprotected void
ServletWebSocketHandlerRegistry.setTaskScheduler
(TaskScheduler scheduler) Provide the TaskScheduler to use for SockJS endpoints for which a task scheduler has not been explicitly registered.SockJsServiceRegistration.setTaskScheduler
(TaskScheduler scheduler) A scheduler instance to use for scheduling SockJS heart-beats.WebSocketMessageBrokerConfigurationSupport.stompWebSocketHandlerMapping
(WebSocketHandler subProtocolWebSocketHandler, TaskScheduler messageBrokerTaskScheduler) WebSocketMessageBrokerConfigurationSupport.webSocketMessageBrokerStats
(AbstractBrokerMessageHandler stompBrokerRelayMessageHandler, WebSocketHandler subProtocolWebSocketHandler, TaskExecutor clientInboundChannelExecutor, TaskExecutor clientOutboundChannelExecutor, TaskScheduler messageBrokerTaskScheduler) ModifierConstructorDescriptionWebMvcStompEndpointRegistry
(WebSocketHandler webSocketHandler, WebSocketTransportRegistration transportRegistration, TaskScheduler defaultSockJsTaskScheduler) WebMvcStompWebSocketEndpointRegistration
(String[] paths, WebSocketHandler webSocketHandler, TaskScheduler sockJsTaskScheduler) -
Uses of TaskScheduler in org.springframework.web.socket.messaging
Modifier and TypeMethodDescriptionvoid
WebSocketStompClient.setTaskScheduler
(TaskScheduler taskScheduler) Configure a scheduler to use for heartbeats and for receipt tracking. -
Uses of TaskScheduler in org.springframework.web.socket.sockjs.client
Modifier and TypeMethodDescriptionvoid
SockJsClient.setConnectTimeoutScheduler
(TaskScheduler connectTimeoutScheduler) Configure aTaskScheduler
for scheduling a connect timeout task where the timeout value is calculated based on the duration of the initial SockJS "Info" request. -
Uses of TaskScheduler in org.springframework.web.socket.sockjs.support
Modifier and TypeMethodDescriptionAbstractSockJsService.getTaskScheduler()
A scheduler instance to use for scheduling heart-beat messages. -
Uses of TaskScheduler in org.springframework.web.socket.sockjs.transport
Modifier and TypeMethodDescriptionSockJsServiceConfig.getTaskScheduler()
A scheduler instance to use for scheduling heart-beat messages.ModifierConstructorDescriptionTransportHandlingSockJsService
(TaskScheduler scheduler, Collection<TransportHandler> handlers) Create a TransportHandlingSockJsService with givenhandler
types.TransportHandlingSockJsService
(TaskScheduler scheduler, TransportHandler... handlers) Create a TransportHandlingSockJsService with givenhandler
types. -
Uses of TaskScheduler in org.springframework.web.socket.sockjs.transport.handler
ModifierConstructorDescriptionDefaultSockJsService
(TaskScheduler scheduler) Create a DefaultSockJsService with defaulthandler
types.DefaultSockJsService
(TaskScheduler scheduler, Collection<TransportHandler> handlerOverrides) Create a DefaultSockJsService with overriddenhandler
types replacing the corresponding default handler implementation.DefaultSockJsService
(TaskScheduler scheduler, TransportHandler... handlerOverrides) Create a DefaultSockJsService with overriddenhandler
types replacing the corresponding default handler implementation.