Package akka.stream.javadsl
Class Unzip$
- java.lang.Object
-
- akka.stream.javadsl.Unzip$
-
public class Unzip$ extends java.lang.ObjectTakes a stream of pair elements and splits each pair to two output streams.An
Unziphas oneinport and oneleftand onerightoutput port.'''Emits when''' all of the outputs stops backpressuring and there is an input element available
'''Backpressures when''' any of the outputs backpressures
'''Completes when''' upstream completes
'''Cancels when''' any downstream cancels
-
-
Constructor Summary
Constructors Constructor Description Unzip$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A,B>
Graph<FanOutShape2<Pair<A,B>,A,B>,NotUsed>create()Creates a newUnzipoperator with the specified output types.<A,B>
Graph<FanOutShape2<Pair<A,B>,A,B>,NotUsed>create(java.lang.Class<A> left, java.lang.Class<B> right)Creates a newUnzipoperator with the specified output types.
-
-
-
Field Detail
-
MODULE$
public static final Unzip$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
create
public <A,B> Graph<FanOutShape2<Pair<A,B>,A,B>,NotUsed> create()
Creates a newUnzipoperator with the specified output types.
-
create
public <A,B> Graph<FanOutShape2<Pair<A,B>,A,B>,NotUsed> create(java.lang.Class<A> left, java.lang.Class<B> right)
Creates a newUnzipoperator with the specified output types.
-
-