Uses of Class
org.voltdb.task.ScheduledAction
Packages that use ScheduledAction
Package
Description
Provides classes and interfaces for supporting task creation for execution of procedures and custom java on a
schedule
-
Uses of ScheduledAction in org.voltdb.task
Methods in org.voltdb.task that return ScheduledActionModifier and TypeMethodDescriptionstatic ScheduledActionScheduledAction.callback(long interval, TimeUnit timeUnit, Function<ActionResult, ScheduledAction> callback) static ScheduledActionCreate aScheduledActionwhich indicates that an unrecoverable error has occurred and the scheduler must exit.static ScheduledActionCreate aScheduledActionwhich indicates that the scheduler has reached the end of its life cycle gracefullyActionScheduler.getFirstScheduledAction()This method is invoked only once to obtain the first action and interval.static ScheduledActionCreate aScheduledActionfrom aActionwhich is of type stop.static ScheduledActionstatic ScheduledActionScheduledAction.procedureCall(long interval, TimeUnit timeUnit, Function<ActionResult, ScheduledAction> callback, String procedure, Object... procedureParameters) Create aScheduledActionwhich executes a procedure with given parameters afterintervalScheduledAction.setAttachment(Object attachment) Add an arbitrary attachment to this instance so that it can be retrieved from theActionResultScheduledAction.setStatusMessage(String statusMessage) Set the optional status message which will be reported in the statistics for a task and if this is anActionType.ERRORorActionType.EXITaction then it will also be logged.Methods in org.voltdb.task that return types with arguments of type ScheduledActionMethod parameters in org.voltdb.task with type arguments of type ScheduledActionModifier and TypeMethodDescriptionstatic ScheduledActionScheduledAction.callback(long interval, TimeUnit timeUnit, Function<ActionResult, ScheduledAction> callback) static ScheduledActionScheduledAction.procedureCall(long interval, TimeUnit timeUnit, Function<ActionResult, ScheduledAction> callback, String procedure, Object... procedureParameters) Create aScheduledActionwhich executes a procedure with given parameters afterinterval