Stage.Builder<DATA>, Stage.Continuation<DATA>
Constructor and Description |
---|
LinkedStage(Function<DATA,DATA> transformation)
Create a new terminal stage .
|
LinkedStage(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(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)
Stage
processing continuation
.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.