程序包 org.springframework.scheduling.support
Generic support classes for scheduling. Provides a Runnable adapter for Spring's MethodInvoker.
类概要 类 说明 CronSequenceGenerator Date sequence generator for a Crontab pattern, allowing clients to specify a pattern that the sequence matches.CronTrigger Triggerimplementation for cron expressions.DelegatingErrorHandlingRunnable Runnable wrapper that catches any exception or error thrown from its delegate Runnable and allows anErrorHandlerto handle it.MethodInvokingRunnable Adapter that implements theRunnableinterface as a configurable method invocation based on Spring's MethodInvoker.PeriodicTrigger A trigger for periodic task execution.ScheduledMethodRunnable Variant ofMethodInvokingRunnablemeant to be used for processing of no-arg scheduled methods.SimpleTriggerContext Simple data holder implementation of theTriggerContextinterface.TaskUtils Utility methods for decorating tasks with error handling.