Stage.Builder<DATA>, Stage.Continuation<DATA>| Modifier and Type | Field and Description |
|---|---|
private Stage<DATA> |
nextStage |
private com.google.common.base.Function<DATA,DATA> |
transformation |
| Constructor and Description |
|---|
LinkedStage(com.google.common.base.Function<DATA,DATA> transformation)
Create a new terminal stage .
|
LinkedStage(com.google.common.base.Function<DATA,DATA> transformation,
Stage<DATA> nextStage)
Create a new stage that will return the supplied stage in the
continuation.
|
| Modifier and Type | Method and Description |
|---|---|
Stage.Continuation<DATA> |
apply(DATA data)
Performs a data processing task and returns the processed data together with
a
processing continuation. |
public LinkedStage(com.google.common.base.Function<DATA,DATA> transformation, Stage<DATA> nextStage)
transformation - Request transformation function to be applied in the stage.nextStage - next stage returned in the continuation.public Stage.Continuation<DATA> apply(DATA data)
Stageprocessing continuation.