Interface CronInvocation
- All Superinterfaces:
Invocation
Specific method invocation metadata for scheduled task.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhen true, next task is started even if previous didn't finish yet.cron()Cron expression specifying interval invocation is scheduled with.Methods inherited from interface Invocation
description, iterationModifier and TypeMethodDescriptionHuman readable description of the scheduled interval.longHow many times has been scheduled method invoked yet.
-
Method Details
-
cron
String cron()Cron expression specifying interval invocation is scheduled with.- Returns:
- cron expression
-
concurrent
boolean concurrent()When true, next task is started even if previous didn't finish yet.- Returns:
- true means allowing concurrent invocation
-