public interface ScheduledCallback extends AsynchronousCallback
cronExpression() method.
This callback is especially useful for recurring tasks like maintenance tasks.| Modifier and Type | Method and Description |
|---|---|
String |
cronExpression()
This method returns the quartz-like cron expression for the callback.
|
void |
execute()
This method gets executed on the given schedules
|
void execute()
String cronExpression()
CallbackRegistry. If you have dynamic
cron expressions in this method, you must manually call the
CallbackRegistry.reloadScheduledCallbackExpression(ScheduledCallback)
method in order to reload the expressionCopyright © 2013-2018 dc-square GmbH. All Rights Reserved.