Package io.vertigo.core.daemon
Annotation Interface DaemonScheduled
Configures periodic execution of daemon methods.
Allows scheduling methods to run as background tasks
with specified intervals and monitoring options.
- Author:
- mlaroche
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionUnique identifier for the scheduled daemon.intTime between daemon executions. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanEnables analytics monitoring for the daemon.
-
Element Details
-
name
String nameUnique identifier for the scheduled daemon.- Returns:
- Daemon name
-
periodInSeconds
int periodInSecondsTime between daemon executions.- Returns:
- Interval in seconds
-
analytics
boolean analyticsEnables analytics monitoring for the daemon.- Returns:
- Whether to collect execution metrics
- Default:
true
-