Package akka.stream.scaladsl
Class MergeSorted<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<FanInShape2<T,T,T>>
-
- akka.stream.scaladsl.MergeSorted<T>
-
- All Implemented Interfaces:
Graph<FanInShape2<T,T,T>,NotUsed>
public final class MergeSorted<T> extends GraphStage<FanInShape2<T,T,T>>
Merge two pre-sorted streams such that the resulting stream is sorted.'''Emits when''' both inputs have an element available
'''Backpressures when''' downstream backpressures
'''Completes when''' all upstreams complete
'''Cancels when''' downstream cancels
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.stream.Graph
Graph.GraphMapMatVal<S extends Shape,M>
-
-
Constructor Summary
Constructors Constructor Description MergeSorted(scala.math.Ordering<T> evidence$1)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphStageLogic
createLogic(Attributes attr)
FanInShape2<T,T,T>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
initialAttributes, withAttributes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.stream.Graph
addAttributes, async, async, async, getAttributes, named
-
-
-
-
Constructor Detail
-
MergeSorted
public MergeSorted(scala.math.Ordering<T> evidence$1)
-
-
Method Detail
-
createLogic
public GraphStageLogic createLogic(Attributes attr)
- Specified by:
createLogic
in classGraphStage<FanInShape2<T,T,T>>
-
shape
public FanInShape2<T,T,T> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.
-
-