Package akka.stream.scaladsl
Class ZipLatestWith2<A1,A2,O>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<FanInShape2<A1,A2,O>>
-
- akka.stream.scaladsl.ZipLatestWith2<A1,A2,O>
-
- All Implemented Interfaces:
Graph<FanInShape2<A1,A2,O>,NotUsed>
- Direct Known Subclasses:
ZipLatest
public class ZipLatestWith2<A1,A2,O> extends GraphStage<FanInShape2<A1,A2,O>>
`ZipLatestWith` specialized for 2 inputs
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.stream.Graph
Graph.GraphMapMatVal<S extends Shape,M>
-
-
Constructor Summary
Constructors Constructor Description ZipLatestWith2(scala.Function2<A1,A2,O> zipper)
ZipLatestWith2(scala.Function2<A1,A2,O> zipper, boolean eagerComplete)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphStageLogic
createLogic(Attributes inheritedAttributes)
boolean
eagerComplete()
Inlet<A1>
in0()
Inlet<A2>
in1()
Attributes
initialAttributes()
Outlet<O>
out()
FanInShape2<A1,A2,O>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.java.lang.String
toString()
scala.Function2<A1,A2,O>
zipper()
-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
withAttributes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface akka.stream.Graph
addAttributes, async, async, async, getAttributes, named
-
-
-
-
Method Detail
-
createLogic
public GraphStageLogic createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<FanInShape2<A1,A2,O>>
-
eagerComplete
public boolean eagerComplete()
-
initialAttributes
public Attributes initialAttributes()
- Overrides:
initialAttributes
in classGraphStageWithMaterializedValue<FanInShape2<A1,A2,O>,NotUsed>
-
shape
public FanInShape2<A1,A2,O> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-