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.
Triggerimplementation for cron expressions.Default implementation forScheduledTaskObservationConvention.Runnable wrapper that catches any exception or error thrown from its delegate Runnable and allows anErrorHandlerto handle it.Adapter that implements theRunnableinterface as a configurable method invocation based on Spring's MethodInvoker.A basic, no operationTaskSchedulerimplementation suitable for disabling scheduling, typically used for test setups.A trigger for periodic task execution.Variant ofMethodInvokingRunnablemeant 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 anObservationConventionforscheduled task executions.DocumentedKeyValuesfor the observations on executions ofscheduled tasksSimple data holder implementation of theTriggerContextinterface.Utility methods for decorating tasks with error handling.