Package akka.stream.scaladsl
Class MergeLatest<T,M>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<UniformFanInShape<T,M>>
-
- akka.stream.scaladsl.MergeLatest<T,M>
-
- All Implemented Interfaces:
Graph<UniformFanInShape<T,M>,NotUsed>
public final class MergeLatest<T,M> extends GraphStage<UniformFanInShape<T,M>>
Create a newMergeLatest
with the specified number of input ports.param: inputPorts number of input ports param: eagerComplete if true, the merge latest will complete as soon as one of its inputs completes.
-
-
Constructor Summary
Constructors Constructor Description MergeLatest(int inputPorts, boolean eagerClose, scala.Function1<java.lang.Object,M> buildElem)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> GraphStage<UniformFanInShape<T,scala.collection.immutable.List<T>>>
apply(int inputPorts, boolean eagerComplete)
static <T> boolean
apply$default$2()
GraphStageLogic
createLogic(Attributes inheritedAttributes)
boolean
eagerClose()
scala.collection.immutable.IndexedSeq<Inlet<T>>
in()
int
inputPorts()
Outlet<M>
out()
UniformFanInShape<T,M>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.java.lang.String
toString()
-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, initialAttributes, traversalBuilder, withAttributes
-
-
-
-
Constructor Detail
-
MergeLatest
public MergeLatest(int inputPorts, boolean eagerClose, scala.Function1<java.lang.Object,M> buildElem)
-
-
Method Detail
-
apply
public static <T> GraphStage<UniformFanInShape<T,scala.collection.immutable.List<T>>> apply(int inputPorts, boolean eagerComplete)
-
apply$default$2
public static <T> boolean apply$default$2()
-
inputPorts
public int inputPorts()
-
eagerClose
public boolean eagerClose()
-
shape
public UniformFanInShape<T,M> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.- Returns:
- (undocumented)
-
createLogic
public GraphStageLogic createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<UniformFanInShape<T,M>>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-