Uses of Class
org.voltdb.task.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
Modifier 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.Modifier and TypeMethodDescriptionstatic ScheduledAction
Create aScheduledAction
from aAction
which is of type stop.static ScheduledAction
Modifier 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