Uses of Interface
org.springframework.scheduling.Trigger
Package
Description
General exceptions for Spring's scheduling support,
independent of any specific scheduling system.
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.
Generic support classes for scheduling.
-
Uses of Trigger in org.springframework.scheduling
Modifier and TypeMethodDescriptionSchedule the givenRunnable
, invoking it whenever the trigger indicates a next execution time. -
Uses of Trigger in org.springframework.scheduling.concurrent
Modifier and TypeMethodDescription -
Uses of Trigger in org.springframework.scheduling.config
Modifier and TypeMethodDescriptionvoid
ScheduledTaskRegistrar.addTriggerTask
(Runnable task, Trigger trigger) Add a Runnable task to be triggered per the givenTrigger
.Modifier and TypeMethodDescriptionvoid
ScheduledTaskRegistrar.setTriggerTasks
(Map<Runnable, Trigger> triggerTasks) Specify triggered tasks as a Map of Runnables (the tasks) and Trigger objects (typically custom implementations of theTrigger
interface).ModifierConstructorDescriptionTriggerTask
(Runnable runnable, Trigger trigger) Create a newTriggerTask
. -
Uses of Trigger in org.springframework.scheduling.support
Modifier and TypeClassDescriptionclass
Trigger
implementation for cron expressions.class
A trigger for periodic task execution.