public interface ActionScheduler
|Modifier and Type||Method and Description|
This method is invoked only once to obtain the first action and interval.
If this method returns
callbackwill be invoked with the
resultof the action. The return of the callback will be used as the next action and interval.
If this method throws an exception or returns
null the task instance will halted and put into an error
ScheduledActionwith the action and interval after which the action is performed
default boolean restrictProcedureByScope()
truethat means the type of procedure which this scheduler can run is restricted based upon the scope type.
Default return is
trueif the type of procedure this scheduler can run should be restricted based upon scope
default boolean isReadOnly()
falseunless it is guaranteed that all procedures are also read only.
trueif all procedures returned by this instance are read only