Uses of Class
org.voltdb.task.Action
Packages that use Action
Package
Description
Provides classes and interfaces for supporting task creation for execution of procedures and custom java on a
schedule
-
Uses of Action in org.voltdb.task
Methods in org.voltdb.task that return ActionModifier and TypeMethodDescriptionstatic Action
Action.callback
(Function<ActionResult, Action> callback) Create anAction
which causes thecallback
to be invoked.static Action
Create anAction
which indicates that an unrecoverable error has occurred and the scheduler must exit.static Action
Create anAction
which indicates that the scheduler has reached the end of its life cycle gracefullyActionGenerator.getFirstAction()
This method is invoked only once to obtain the first action.static Action
Action.procedureCall
(Function<ActionResult, Action> callback, String procedure, Object... procedureParameters) Create anAction
which executes a procedure with given parametersAction.setStatusMessage
(String statusMessage) Set the optional status massage which will be reported in the statistics for a task and if this is anActionType.ERROR
orActionType.EXIT
action then it will also be logged.Methods in org.voltdb.task that return types with arguments of type ActionMethods in org.voltdb.task with parameters of type ActionModifier and TypeMethodDescriptionstatic ScheduledAction
Create aScheduledAction
from aAction
which is of type stop.static ScheduledAction
Method parameters in org.voltdb.task with type arguments of type ActionModifier and TypeMethodDescriptionstatic Action
Action.callback
(Function<ActionResult, Action> callback) Create anAction
which causes thecallback
to be invoked.static Action
Action.procedureCall
(Function<ActionResult, Action> callback, String procedure, Object... procedureParameters) Create anAction
which executes a procedure with given parameters