Uses of Interface
org.springframework.scheduling.Trigger
Packages that use 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
Methods in org.springframework.scheduling with parameters of type TriggerModifier and TypeMethodDescriptionSchedule the givenRunnable
, invoking it whenever the trigger indicates a next execution time. -
Uses of Trigger in org.springframework.scheduling.concurrent
Methods in org.springframework.scheduling.concurrent with parameters of type TriggerModifier and TypeMethodDescription -
Uses of Trigger in org.springframework.scheduling.config
Methods in org.springframework.scheduling.config that return TriggerMethods in org.springframework.scheduling.config with parameters of type TriggerModifier and TypeMethodDescriptionvoid
ScheduledTaskRegistrar.addTriggerTask
(Runnable task, Trigger trigger) Add a Runnable task to be triggered per the givenTrigger
.Method parameters in org.springframework.scheduling.config with type arguments of type TriggerModifier 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).Constructors in org.springframework.scheduling.config with parameters of type TriggerModifierConstructorDescriptionTriggerTask
(Runnable runnable, Trigger trigger) Create a newTriggerTask
. -
Uses of Trigger in org.springframework.scheduling.support
Classes in org.springframework.scheduling.support that implement TriggerModifier and TypeClassDescriptionclass
Trigger
implementation for cron expressions.class
A trigger for periodic task execution.Methods in org.springframework.scheduling.support with parameters of type TriggerModifier and TypeMethodDescription