public class Broadcast$
extends java.lang.Object
'''Emits when''' all of the outputs stops backpressuring and there is an input element available
'''Backpressures when''' any of the outputs backpressure
'''Completes when''' upstream completes
'''Cancels when''' If eagerCancel is enabled: when any downstream cancels; otherwise: when all downstreams cancel
Modifier and Type | Field and Description |
---|---|
static Broadcast$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Broadcast$() |
Modifier and Type | Method and Description |
---|---|
<T> Graph<UniformFanOutShape<T,T>,NotUsed> |
create(java.lang.Class<T> clazz,
int outputCount)
Create a new
Broadcast stage with the specified input type. |
<T> Graph<UniformFanOutShape<T,T>,NotUsed> |
create(int outputCount)
Create a new
Broadcast stage with the specified input type. |
<T> Graph<UniformFanOutShape<T,T>,NotUsed> |
create(int outputCount,
boolean eagerCancel)
Create a new
Broadcast stage with the specified input type. |
public static final Broadcast$ MODULE$
public <T> Graph<UniformFanOutShape<T,T>,NotUsed> create(int outputCount, boolean eagerCancel)
Broadcast
stage with the specified input type.
outputCount
- number of output portseagerCancel
- if true, broadcast cancels upstream if any of its downstreams cancel.public <T> Graph<UniformFanOutShape<T,T>,NotUsed> create(int outputCount)
Broadcast
stage with the specified input type.
outputCount
- number of output portspublic <T> Graph<UniformFanOutShape<T,T>,NotUsed> create(java.lang.Class<T> clazz, int outputCount)
Broadcast
stage with the specified input type.clazz
- (undocumented)outputCount
- (undocumented)