public static class TestProcedureExecution.TestWaitingProcedure extends SequentialProcedure<Void>
Modifier and Type | Class and Description |
---|---|
static class |
TestProcedureExecution.TestWaitingProcedure.TestWaitChild |
Constructor and Description |
---|
TestWaitingProcedure() |
TestWaitingProcedure(String name,
List<String> state,
boolean hasChild) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
abort(Void env)
The abort() call is asynchronous and each procedure must decide how to deal
with that, if they want to be abortable.
|
protected Procedure[] |
execute(Void env)
The main code of the procedure.
|
protected void |
rollback(Void env)
The code to undo what done by the execute() code.
|
deserializeStateData, doExecute, doRollback, serializeStateData
acquireLock, addStackIndex, beforeReplay, childrenCountDown, compareTo, completionCleanup, convert, convert, createProcedureInfo, elapsedTime, getException, getLastUpdate, getOwner, getParentProcId, getProcId, getResult, getRootProcedureId, getStackIndexes, getStartTime, getState, getTimeout, getTimeRemaining, hasException, hasOwner, hasParent, hasTimeout, incChildrenLatch, isFailed, isFinished, isSuccess, isWaiting, newInstance, releaseLock, removeStackIndex, setAbortFailure, setChildrenLatch, setFailure, setFailure, setOwner, setParentProcId, setProcId, setResult, setStackIndexes, setStartTime, setState, setTimeout, setTimeoutFailure, toString, toStringClass, toStringClassDetails, updateTimestamp, validateClass, wasExecuted
protected Procedure[] execute(Void env)
Procedure
protected void rollback(Void env)
Procedure
protected boolean abort(Void env)
Procedure