R - the result typepublic interface BasePipeline<R> extends BaseAcceptor<R>
| Modifier and Type | Method and Description |
|---|---|
BaseAcceptor<? extends R> |
getDownstream()
Get the downstream
BaseAcceptor. |
default R |
getResult()
Get the result object (defaults to the result of the downstream acceptor).
|
default boolean |
isComplete()
Return
true if all sequences in the input are complete, both for the current stage and for the downstream
stages. |
default boolean |
isStageComplete()
Return
true if all sequences in the input to this stage of the pipeline are complete, that is, the input
is not in the middle of a sequence requiring more data. |
flush, isClosed, safeClosecloseBaseAcceptor<? extends R> getDownstream()
BaseAcceptor.BaseAcceptordefault boolean isStageComplete()
true if all sequences in the input to this stage of the pipeline are complete, that is, the input
is not in the middle of a sequence requiring more data. This should be overridden by pipeline stages that
process complex sequences of input.true if the input is in the "complete" statedefault boolean isComplete()
true if all sequences in the input are complete, both for the current stage and for the downstream
stages.isComplete in interface BaseAcceptor<R>true if the input is in the "complete" statedefault R getResult()
getResult in interface BaseAcceptor<R>IllegalStateException - if there is an incomplete sequence in progressCopyright © 2025. All rights reserved.