Package akka.stream.scaladsl
Class Interleave$
- java.lang.Object
-
- akka.stream.scaladsl.Interleave$
-
public class Interleave$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static Interleave$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description Interleave$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Graph<UniformFanInShape<T,T>,NotUsed>
apply(int inputPorts, int segmentSize, boolean eagerClose)
Create a newInterleave
with the specified number of input ports and given size of elements to take from each input.<T> boolean
apply$default$3()
-
-
-
Field Detail
-
MODULE$
public static final Interleave$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public <T> Graph<UniformFanInShape<T,T>,NotUsed> apply(int inputPorts, int segmentSize, boolean eagerClose)
Create a newInterleave
with 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()
-
-