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 ActionAction.callback(Function<ActionResult, Action> callback) Create anActionwhich causes thecallbackto be invoked.static ActionCreate anActionwhich indicates that an unrecoverable error has occurred and the scheduler must exit.static ActionCreate anActionwhich 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 ActionAction.procedureCall(Function<ActionResult, Action> callback, String procedure, Object... procedureParameters) Create anActionwhich 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.ERRORorActionType.EXITaction 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 ScheduledActionCreate aScheduledActionfrom aActionwhich is of type stop.static ScheduledActionMethod parameters in org.voltdb.task with type arguments of type ActionModifier and TypeMethodDescriptionstatic ActionAction.callback(Function<ActionResult, Action> callback) Create anActionwhich causes thecallbackto be invoked.static ActionAction.procedureCall(Function<ActionResult, Action> callback, String procedure, Object... procedureParameters) Create anActionwhich executes a procedure with given parameters