public class Balance$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Balance$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Balance$() |
Modifier and Type | Method and Description |
---|---|
<T> Balance<T> |
apply(int outputPorts,
boolean waitForAllDownstreams)
Create a new
Balance with the specified number of output ports. |
public static final Balance$ MODULE$
public <T> Balance<T> apply(int outputPorts, boolean waitForAllDownstreams)
Balance
with the specified number of output ports.
outputPorts
- number of output portswaitForAllDownstreams
- if you use waitForAllDownstreams = true
it will not start emitting
elements to downstream outputs until all of them have requested at least one element,
default value is false