- All Superinterfaces:
- Enclosing interface:
public static interface Stage.Collect extends StageA collect stage.
This must use the collectors supplier to create an accumulated value, and then the accumulator BiConsumer must be used to accumulate the received elements in the value. Finally, the returned
CompletionStagemust be redeemed by value returned by the finisher function applied to the accumulated value when the stream terminates normally, or must be redeemed with an error if the stream terminates with an error.
If the collector throws an exception, the upstream must be cancelled, and the
CompletionStagemust be redeemed with that error.
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.microprofile.reactive.streams.operators.spi.Stage
Stage.Cancel, Stage.Collect, Stage.Concat, Stage.Coupled, Stage.Distinct, Stage.DropWhile, Stage.Failed, Stage.Filter, Stage.FindFirst, Stage.FlatMap, Stage.FlatMapCompletionStage, Stage.FlatMapIterable, Stage.FromCompletionStage, Stage.FromCompletionStageNullable, Stage.Limit, Stage.Map, Stage.Of, Stage.OnComplete, Stage.OnError, Stage.OnErrorResume, Stage.OnErrorResumeWith, Stage.OnTerminate, Stage.Peek, Stage.ProcessorStage, Stage.PublisherStage, Stage.Skip, Stage.SubscriberStage, Stage.TakeWhile