|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StageDriver.State | |
---|---|
org.apache.commons.pipeline | This package provides a set of pipeline utilities designed around work queues that run in parallel to sequentially process data objects. |
org.apache.commons.pipeline.driver | This package contains implementations of the StageDriver and StageDriverFactory interfaces. |
Uses of StageDriver.State in org.apache.commons.pipeline |
---|
Methods in org.apache.commons.pipeline that return StageDriver.State | |
---|---|
StageDriver.State |
ProcessingException.getDriverState()
Returns the saved driver state at the time of processing failure. |
StageDriver.State |
StageDriver.getState()
Returns the current state of stage processing. |
static StageDriver.State |
StageDriver.State.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StageDriver.State[] |
StageDriver.State.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Constructors in org.apache.commons.pipeline with parameters of type StageDriver.State | |
---|---|
ProcessingException(Stage stage,
Throwable cause,
Object data,
StageDriver.State driverState)
Creates a new instance of ProcessingException |
Uses of StageDriver.State in org.apache.commons.pipeline.driver |
---|
Fields in org.apache.commons.pipeline.driver declared as StageDriver.State | |
---|---|
protected StageDriver.State |
AbstractStageDriver.currentState
The current state of processing. |
Methods in org.apache.commons.pipeline.driver that return StageDriver.State | |
---|---|
StageDriver.State |
AbstractStageDriver.getState()
Return the current state of stage processing. |
Methods in org.apache.commons.pipeline.driver with parameters of type StageDriver.State | |
---|---|
protected boolean |
AbstractStageDriver.isInState(StageDriver.State... states)
Atomically tests to determine whether or not the driver is in the one of the specified states. |
protected void |
AbstractStageDriver.setState(StageDriver.State nextState)
Set the current state of stage processing and notify any listeners that may be waiting on a state change. |
protected boolean |
AbstractStageDriver.testAndSetState(StageDriver.State testState,
StageDriver.State nextState)
This method performs an atomic conditional state transition change to the value specified by the nextState parameter if and only if the current state is equal to the test state. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |