Package org.apache.pekko.stream.scaladsl
Class Interleave$
java.lang.Object
org.apache.pekko.stream.scaladsl.Interleave$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Interleave$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Graph<UniformFanInShape<T,T>, NotUsed> apply(int inputPorts, int segmentSize, boolean eagerClose) Create a newInterleavewith the specified number of input ports and given size of elements to take from each input.<T> boolean
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Interleave$
public Interleave$()
-
-
Method Details
-
apply
public <T> Graph<UniformFanInShape<T,T>, applyNotUsed> (int inputPorts, int segmentSize, boolean eagerClose) Create a newInterleavewith the specified number of input ports and given size of elements to take from each input.- Parameters:
inputPorts- number of input portssegmentSize- number of elements to send downstream before switching to next input porteagerClose- if true, interleave completes upstream if any of its upstream completes.
-
apply$default$3
public <T> boolean apply$default$3()
-