public final class VoltCompoundProcedure.StageListBuilder extends java.lang.Object
The stage list is built at the start of execution, in your procedure's
run method, like this:
A stage list is created by the call to
newStageList(STAGE) .then(STAGE) .then(STAGE) .build();
VoltCompoundProcedure.newStageList(java.util.function.Consumer<org.voltdb.client.ClientResponse>), with the first stage to be executed. Additional stages can be added one-by-one as required by the application logic. Once built, the stage list cannot be changed.
|Modifier and Type||Method and Description|
Finalizes the list of stages, and sets it up ready for execution.
Adds the next sequential state to the list of stages
public VoltCompoundProcedure.StageListBuilder then(java.util.function.Consumer<org.voltdb.client.ClientResponse> consumer)
consumer- next stage handler
public void build()