Package org.springframework.scheduling.support
@NullMarked
package org.springframework.scheduling.support
Generic support classes for scheduling.
Provides a Runnable adapter for Spring's MethodInvoker.
-
ClassDescriptionRepresentation of a crontab expression that can calculate the next time it matches.
Trigger
implementation for cron expressions.Default implementation forScheduledTaskObservationConvention
.Runnable wrapper that catches any exception or error thrown from its delegate Runnable and allows anErrorHandler
to handle it.Adapter that implements theRunnable
interface as a configurable method invocation based on Spring's MethodInvoker.A basic, no operationTaskScheduler
implementation suitable for disabling scheduling, typically used for test setups.A trigger for periodic task execution.Variant ofMethodInvokingRunnable
meant to be used for processing of no-arg scheduled methods.Context that holds information for observation metadata collection during theexecution of scheduled tasks
.Interface for anObservationConvention
forscheduled task executions
.DocumentedKeyValues
for the observations on executions ofscheduled tasks
Simple data holder implementation of theTriggerContext
interface.Utility methods for decorating tasks with error handling.