public class Merge
extends java.lang.Object
'''Emits when''' one of the inputs has an element available
'''Backpressures when''' downstream backpressures
'''Completes when''' all upstreams complete (eagerComplete=false) or one upstream completes (eagerComplete=true)
'''Cancels when''' downstream cancels
Constructor and Description |
---|
Merge() |
Modifier and Type | Method and Description |
---|---|
static <T> Graph<UniformFanInShape<T,T>,NotUsed> |
create(java.lang.Class<T> clazz,
int inputPorts)
Create a new
Merge stage with the specified output type. |
static <T> Graph<UniformFanInShape<T,T>,NotUsed> |
create(java.lang.Class<T> clazz,
int inputPorts,
boolean eagerComplete)
Create a new
Merge stage with the specified output type. |
static <T> Graph<UniformFanInShape<T,T>,NotUsed> |
create(int inputPorts)
Create a new
Merge stage with the specified output type. |
static <T> Graph<UniformFanInShape<T,T>,NotUsed> |
create(int inputPorts,
boolean eagerComplete)
Create a new
Merge stage with the specified output type. |
public static <T> Graph<UniformFanInShape<T,T>,NotUsed> create(int inputPorts)
Merge
stage with the specified output type.inputPorts
- (undocumented)public static <T> Graph<UniformFanInShape<T,T>,NotUsed> create(java.lang.Class<T> clazz, int inputPorts)
Merge
stage with the specified output type.clazz
- (undocumented)inputPorts
- (undocumented)public static <T> Graph<UniformFanInShape<T,T>,NotUsed> create(int inputPorts, boolean eagerComplete)
Merge
stage with the specified output type.
eagerComplete
- set to true in order to make this stage eagerly
finish as soon as one of its inputs completesinputPorts
- (undocumented)public static <T> Graph<UniformFanInShape<T,T>,NotUsed> create(java.lang.Class<T> clazz, int inputPorts, boolean eagerComplete)
Merge
stage with the specified output type.
eagerComplete
- set to true in order to make this stage eagerly
finish as soon as one of its inputs completesclazz
- (undocumented)inputPorts
- (undocumented)