A common interface for all dataflow variables, streams or queues
Type | Name and description |
---|---|
void |
binaryChoice(DataflowWriteChannel<T> trueBranch, DataflowWriteChannel<T> falseBranch, groovy.lang.Closure<java.lang.Boolean> code) Directs the output to one of the two output channels depending on the boolean result of the provided closure. |
void |
binaryChoice(Pool pool, DataflowWriteChannel<T> trueBranch, DataflowWriteChannel<T> falseBranch, groovy.lang.Closure<java.lang.Boolean> code) Directs the output to one of the two output channels depending on the boolean result of the provided closure. |
void |
binaryChoice(PGroup group, DataflowWriteChannel<T> trueBranch, DataflowWriteChannel<T> falseBranch, groovy.lang.Closure<java.lang.Boolean> code) Directs the output to one of the two output channels depending on the boolean result of the provided closure. |
void |
binaryChoice(java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> trueBranch, DataflowWriteChannel<T> falseBranch, groovy.lang.Closure<java.lang.Boolean> code) Directs the output to one of the two output channels depending on the boolean result of the provided closure. |
void |
binaryChoice(Pool pool, java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> trueBranch, DataflowWriteChannel<T> falseBranch, groovy.lang.Closure<java.lang.Boolean> code) Directs the output to one of the two output channels depending on the boolean result of the provided closure. |
void |
binaryChoice(PGroup group, java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> trueBranch, DataflowWriteChannel<T> falseBranch, groovy.lang.Closure<java.lang.Boolean> code) Directs the output to one of the two output channels depending on the boolean result of the provided closure. |
DataflowReadChannel<V> |
chainWith(groovy.lang.Closure<V> closure) Creates and attaches a new operator processing values from the channel |
DataflowReadChannel<V> |
chainWith(Pool pool, groovy.lang.Closure<V> closure) Creates and attaches a new operator processing values from the channel |
DataflowReadChannel<V> |
chainWith(PGroup group, groovy.lang.Closure<V> closure) Creates and attaches a new operator processing values from the channel |
DataflowReadChannel<V> |
chainWith(java.util.Map<java.lang.String, java.lang.Object> params, groovy.lang.Closure<V> closure) Creates and attaches a new operator processing values from the channel |
DataflowReadChannel<V> |
chainWith(Pool pool, java.util.Map<java.lang.String, java.lang.Object> params, groovy.lang.Closure<V> closure) Creates and attaches a new operator processing values from the channel |
DataflowReadChannel<V> |
chainWith(PGroup group, java.util.Map<java.lang.String, java.lang.Object> params, groovy.lang.Closure<V> closure) Creates and attaches a new operator processing values from the channel |
void |
choice(java.util.List<DataflowWriteChannel<T>> outputs, groovy.lang.Closure<java.lang.Integer> code) Directs the output to one of the output channels depending on the int result of the provided closure. |
void |
choice(Pool pool, java.util.List<DataflowWriteChannel<T>> outputs, groovy.lang.Closure<java.lang.Integer> code) Directs the output to one of the output channels depending on the int result of the provided closure. |
void |
choice(PGroup group, java.util.List<DataflowWriteChannel<T>> outputs, groovy.lang.Closure<java.lang.Integer> code) Directs the output to one of the output channels depending on the int result of the provided closure. |
void |
choice(java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowWriteChannel<T>> outputs, groovy.lang.Closure<java.lang.Integer> code) Directs the output to one of the output channels depending on the int result of the provided closure. |
void |
choice(Pool pool, java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowWriteChannel<T>> outputs, groovy.lang.Closure<java.lang.Integer> code) Directs the output to one of the output channels depending on the int result of the provided closure. |
void |
choice(PGroup group, java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowWriteChannel<T>> outputs, groovy.lang.Closure<java.lang.Integer> code) Directs the output to one of the output channels depending on the int result of the provided closure. |
DataflowReadChannel<T> |
filter(groovy.lang.Closure<java.lang.Boolean> closure) Creates and attaches a new operator that will filter data using the provided closure |
DataflowReadChannel<T> |
filter(Pool pool, groovy.lang.Closure<java.lang.Boolean> closure) Creates and attaches a new operator that will filter data using the provided closure |
DataflowReadChannel<T> |
filter(PGroup group, groovy.lang.Closure<java.lang.Boolean> closure) Creates and attaches a new operator that will filter data using the provided closure |
DataflowReadChannel<T> |
filter(java.util.Map<java.lang.String, java.lang.Object> params, groovy.lang.Closure<java.lang.Boolean> closure) Creates and attaches a new operator that will filter data using the provided closure |
DataflowReadChannel<T> |
filter(Pool pool, java.util.Map<java.lang.String, java.lang.Object> params, groovy.lang.Closure<java.lang.Boolean> closure) Creates and attaches a new operator that will filter data using the provided closure |
DataflowReadChannel<T> |
filter(PGroup group, java.util.Map<java.lang.String, java.lang.Object> params, groovy.lang.Closure<java.lang.Boolean> closure) Creates and attaches a new operator that will filter data using the provided closure |
DataflowChannelEventListenerManager<T> |
getEventManager() Retrieves the event manager object of this channel |
T |
getVal() Reads the current value of the channel. |
T |
getVal(long timeout, java.util.concurrent.TimeUnit units) Reads the current value of the channel. |
void |
getValAsync(MessageStream callback) Asynchronously retrieves the value from the channel. |
void |
getValAsync(java.lang.Object attachment, MessageStream callback) Asynchronously retrieves the value from the channel. |
void |
into(DataflowWriteChannel<T> target) Makes the output of the current channel to be an input for the specified channel |
void |
into(Pool pool, DataflowWriteChannel<T> target) Makes the output of the current channel to be an input for the specified channel |
void |
into(PGroup group, DataflowWriteChannel<T> target) Makes the output of the current channel to be an input for the specified channel |
void |
into(java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> target) Makes the output of the current channel to be an input for the specified channel |
void |
into(Pool pool, java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> target) Makes the output of the current channel to be an input for the specified channel |
void |
into(PGroup group, java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> target) Makes the output of the current channel to be an input for the specified channel |
boolean |
isBound() Check if value has been set already for this expression |
int |
length() Reports the current number of elements in the channel |
DataflowReadChannel<V> |
merge(DataflowReadChannel<java.lang.Object> other, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
merge(Pool pool, DataflowReadChannel<java.lang.Object> other, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
merge(PGroup group, DataflowReadChannel<java.lang.Object> other, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
merge(java.util.List<DataflowReadChannel<java.lang.Object>> others, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
merge(Pool pool, java.util.List<DataflowReadChannel<java.lang.Object>> others, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
merge(PGroup group, java.util.List<DataflowReadChannel<java.lang.Object>> others, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
merge(java.util.Map<java.lang.String, java.lang.Object> params, DataflowReadChannel<java.lang.Object> other, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
merge(Pool pool, java.util.Map<java.lang.String, java.lang.Object> params, DataflowReadChannel<java.lang.Object> other, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
merge(PGroup group, java.util.Map<java.lang.String, java.lang.Object> params, DataflowReadChannel<java.lang.Object> other, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
merge(java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowReadChannel<java.lang.Object>> others, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
merge(Pool pool, java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowReadChannel<java.lang.Object>> others, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
merge(PGroup group, java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowReadChannel<java.lang.Object>> others, groovy.lang.Closure<V> closure) Merges channels together as inputs for a single dataflow operator. |
DataflowReadChannel<V> |
or(groovy.lang.Closure<V> closure) Creates and attaches a new operator processing values from the channel |
void |
or(DataflowWriteChannel<T> target) Makes the output of the current channel to be an input for the specified channel |
Promise<V> |
rightShift(groovy.lang.Closure<V> closure) Schedule closure to be executed after data became available. |
void |
separate(java.util.List<DataflowWriteChannel<?>> outputs, groovy.lang.Closure<java.util.List<java.lang.Object>> code) Allows the closure to output different values to different output channels. |
void |
separate(Pool pool, java.util.List<DataflowWriteChannel<?>> outputs, groovy.lang.Closure<java.util.List<java.lang.Object>> code) Allows the closure to output different values to different output channels. |
void |
separate(PGroup group, java.util.List<DataflowWriteChannel<?>> outputs, groovy.lang.Closure<java.util.List<java.lang.Object>> code) Allows the closure to output different values to different output channels. |
void |
separate(java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowWriteChannel<?>> outputs, groovy.lang.Closure<java.util.List<java.lang.Object>> code) Allows the closure to output different values to different output channels. |
void |
separate(Pool pool, java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowWriteChannel<?>> outputs, groovy.lang.Closure<java.util.List<java.lang.Object>> code) Allows the closure to output different values to different output channels. |
void |
separate(PGroup group, java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowWriteChannel<?>> outputs, groovy.lang.Closure<java.util.List<java.lang.Object>> code) Allows the closure to output different values to different output channels. |
void |
split(DataflowWriteChannel<T> target1, DataflowWriteChannel<T> target2) Splits the output of the current channel to be an input for the specified channels |
void |
split(Pool pool, DataflowWriteChannel<T> target1, DataflowWriteChannel<T> target2) Splits the output of the current channel to be an input for the specified channels |
void |
split(PGroup group, DataflowWriteChannel<T> target1, DataflowWriteChannel<T> target2) Splits the output of the current channel to be an input for the specified channels |
void |
split(java.util.List<DataflowWriteChannel<T>> targets) Makes the output of the current channel to be an input for the specified channels |
void |
split(Pool pool, java.util.List<DataflowWriteChannel<T>> targets) Makes the output of the current channel to be an input for the specified channels |
void |
split(PGroup group, java.util.List<DataflowWriteChannel<T>> targets) Makes the output of the current channel to be an input for the specified channels |
void |
split(java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> target1, DataflowWriteChannel<T> target2) Splits the output of the current channel to be an input for the specified channels |
void |
split(Pool pool, java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> target1, DataflowWriteChannel<T> target2) Splits the output of the current channel to be an input for the specified channels |
void |
split(PGroup group, java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> target1, DataflowWriteChannel<T> target2) Splits the output of the current channel to be an input for the specified channels |
void |
split(java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowWriteChannel<T>> targets) Makes the output of the current channel to be an input for the specified channels |
void |
split(Pool pool, java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowWriteChannel<T>> targets) Makes the output of the current channel to be an input for the specified channels |
void |
split(PGroup group, java.util.Map<java.lang.String, java.lang.Object> params, java.util.List<DataflowWriteChannel<T>> targets) Makes the output of the current channel to be an input for the specified channels |
DataflowReadChannel<T> |
tap(DataflowWriteChannel<T> target) Taps into the pipeline. |
DataflowReadChannel<T> |
tap(Pool pool, DataflowWriteChannel<T> target) Taps into the pipeline. |
DataflowReadChannel<T> |
tap(PGroup group, DataflowWriteChannel<T> target) Taps into the pipeline. |
DataflowReadChannel<T> |
tap(java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> target) Taps into the pipeline. |
DataflowReadChannel<T> |
tap(Pool pool, java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> target) Taps into the pipeline. |
DataflowReadChannel<T> |
tap(PGroup group, java.util.Map<java.lang.String, java.lang.Object> params, DataflowWriteChannel<T> target) Taps into the pipeline. |
Promise<V> |
then(groovy.lang.Closure<V> closure) Schedule closure to be executed after data became available. |
Promise<V> |
then(Pool pool, groovy.lang.Closure<V> closure) Schedule closure to be executed after data becomes available. |
Promise<V> |
then(PGroup group, groovy.lang.Closure<V> closure) Schedule closure to be executed after data becomes available. |
void |
whenBound(groovy.lang.Closure<V> closure) Schedule closure to be executed after data becomes available. |
void |
whenBound(Pool pool, groovy.lang.Closure<V> closure) Schedule closure to be executed after data becomes available. |
void |
whenBound(PGroup group, groovy.lang.Closure<V> closure) Schedule closure to be executed after data becomes available. |
void |
whenBound(MessageStream stream) Send the bound data to provided stream when it becomes available |
Methods inherited from class | Name |
---|---|
interface SelectableChannel |
poll, wheneverBound, wheneverBound |
Directs the output to one of the two output channels depending on the boolean result of the provided closure.
trueBranch
- The channel to send data to if the closure returns truefalseBranch
- The channel to send data to if the closure returns truecode
- A closure directing data to either the true or the false output branchDirects the output to one of the two output channels depending on the boolean result of the provided closure.
pool
- The thread pool to usetrueBranch
- The channel to send data to if the closure returns truefalseBranch
- The channel to send data to if the closure returns truecode
- A closure directing data to either the true or the false output branchDirects the output to one of the two output channels depending on the boolean result of the provided closure.
group
- The PGroup to usetrueBranch
- The channel to send data to if the closure returns truefalseBranch
- The channel to send data to if the closure returns truecode
- A closure directing data to either the true or the false output branchDirects the output to one of the two output channels depending on the boolean result of the provided closure.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)trueBranch
- The channel to send data to if the closure returns truefalseBranch
- The channel to send data to if the closure returns truecode
- A closure directing data to either the true or the false output branchDirects the output to one of the two output channels depending on the boolean result of the provided closure.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)pool
- The thread pool to usetrueBranch
- The channel to send data to if the closure returns truefalseBranch
- The channel to send data to if the closure returns truecode
- A closure directing data to either the true or the false output branchDirects the output to one of the two output channels depending on the boolean result of the provided closure.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)group
- The PGroup to usetrueBranch
- The channel to send data to if the closure returns truefalseBranch
- The channel to send data to if the closure returns truecode
- A closure directing data to either the true or the false output branchCreates and attaches a new operator processing values from the channel
closure
- The function to invoke on all incoming values as part of the new operator's body
- The type of values returned from the supplied closureCreates and attaches a new operator processing values from the channel
pool
- The thread pool to useclosure
- The function to invoke on all incoming values as part of the new operator's body
- The type of values returned from the supplied closureCreates and attaches a new operator processing values from the channel
group
- The PGroup to useclosure
- The function to invoke on all incoming values as part of the new operator's body
- The type of values returned from the supplied closureCreates and attaches a new operator processing values from the channel
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)closure
- The function to invoke on all incoming values as part of the new operator's body
- The type of values returned from the supplied closureCreates and attaches a new operator processing values from the channel
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)pool
- The thread pool to useclosure
- The function to invoke on all incoming values as part of the new operator's body
- The type of values returned from the supplied closureCreates and attaches a new operator processing values from the channel
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)group
- The PGroup to useclosure
- The function to invoke on all incoming values as part of the new operator's body
- The type of values returned from the supplied closureDirects the output to one of the output channels depending on the int result of the provided closure.
outputs
- The channels to send data to of the closure returns truecode
- A closure returning an index of the output channel to direct the data toDirects the output to one of the output channels depending on the int result of the provided closure.
pool
- The thread pool to useoutputs
- The channels to send data to.code
- A closure returning an index of the output channel to direct the data toDirects the output to one of the output channels depending on the int result of the provided closure.
group
- The PGroup to useoutputs
- The channels to send data to.code
- A closure returning an index of the output channel to direct the data toDirects the output to one of the output channels depending on the int result of the provided closure.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)outputs
- The channels to send data to of the closure returns truecode
- A closure returning an index of the output channel to direct the data toDirects the output to one of the output channels depending on the int result of the provided closure.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)pool
- The thread pool to useoutputs
- The channels to send data to.code
- A closure returning an index of the output channel to direct the data toDirects the output to one of the output channels depending on the int result of the provided closure.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)group
- The PGroup to useoutputs
- The channels to send data to.code
- A closure returning an index of the output channel to direct the data toCreates and attaches a new operator that will filter data using the provided closure
closure
- The filter function to invoke on all incoming values to decide whether to pass the value on or notCreates and attaches a new operator that will filter data using the provided closure
pool
- The thread pool to useclosure
- The filter function to invoke on all incoming values to decide whether to pass the value on or notCreates and attaches a new operator that will filter data using the provided closure
group
- The PGroup to useclosure
- The filter function to invoke on all incoming values to decide whether to pass the value on or notCreates and attaches a new operator that will filter data using the provided closure
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)closure
- The filter function to invoke on all incoming values to decide whether to pass the value on or notCreates and attaches a new operator that will filter data using the provided closure
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)pool
- The thread pool to useclosure
- The filter function to invoke on all incoming values to decide whether to pass the value on or notCreates and attaches a new operator that will filter data using the provided closure
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)group
- The PGroup to useclosure
- The filter function to invoke on all incoming values to decide whether to pass the value on or notRetrieves the event manager object of this channel
Reads the current value of the channel. Blocks, if the value has not been assigned yet.
Reads the current value of the channel. Blocks up to given timeout, if the value has not been assigned yet.
timeout
- The timeout valueunits
- Units for the timeoutAsynchronously retrieves the value from the channel. Sends the actual value of the channel as a message back the the supplied actor once the value has been bound. The actor can perform other activities or release a thread back to the pool by calling react() waiting for the message with the value of the Dataflow channel.
callback
- An actor to send the bound value to.Asynchronously retrieves the value from the channel. Sends a message back the the supplied MessageStream with a map holding the supplied attachment under the 'attachment' key and the actual value of the channel under the 'result' key once the value has been bound. Attachment is an arbitrary value helping the actor.operator match its request with the reply. The actor/operator can perform other activities or release a thread back to the pool by calling react() waiting for the message with the value of the Dataflow channel.
attachment
- arbitrary non-null attachment if reader needs better identification of resultcallback
- An actor to send the bound value plus the supplied index to.Makes the output of the current channel to be an input for the specified channel
target
- The channel to copy data intoMakes the output of the current channel to be an input for the specified channel
pool
- The thread pool to usetarget
- The channel to copy data intoMakes the output of the current channel to be an input for the specified channel
group
- The PGroup to usetarget
- The channel to copy data intoMakes the output of the current channel to be an input for the specified channel
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)target
- The channel to copy data intoMakes the output of the current channel to be an input for the specified channel
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)pool
- The thread pool to usetarget
- The channel to copy data intoMakes the output of the current channel to be an input for the specified channel
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)group
- The PGroup to usetarget
- The channel to copy data intoCheck if value has been set already for this expression
Reports the current number of elements in the channel
Merges channels together as inputs for a single dataflow operator.
other
- The channel to merge with
- The type of values passed between the channelsclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.Merges channels together as inputs for a single dataflow operator.
pool
- The thread pool to useother
- The channel to merge withclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.
- The type of values passed between the channelsMerges channels together as inputs for a single dataflow operator.
group
- The PGroup to useother
- The channel to merge withclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.
- The type of values passed between the channelsMerges channels together as inputs for a single dataflow operator.
others
- The channels to merge withclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.
- The type of values passed between the channelsMerges channels together as inputs for a single dataflow operator.
pool
- The thread pool to useothers
- The channels to merge withclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.
- The type of values passed between the channelsMerges channels together as inputs for a single dataflow operator.
group
- The PGroup to useothers
- The channels to merge withclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.
- The type of values passed between the channelsMerges channels together as inputs for a single dataflow operator.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)other
- The channel to merge with
- The type of values passed between the channelsclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.Merges channels together as inputs for a single dataflow operator.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)pool
- The thread pool to useother
- The channel to merge withclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.
- The type of values passed between the channelsMerges channels together as inputs for a single dataflow operator.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)group
- The PGroup to useother
- The channel to merge withclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.
- The type of values passed between the channelsMerges channels together as inputs for a single dataflow operator.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)others
- The channels to merge withclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.
- The type of values passed between the channelsMerges channels together as inputs for a single dataflow operator.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)pool
- The thread pool to useothers
- The channels to merge withclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.
- The type of values passed between the channelsMerges channels together as inputs for a single dataflow operator.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)group
- The PGroup to useothers
- The channels to merge withclosure
- The function to invoke on all incoming values as part of the new operator's body. The number of arguments to the closure must match the number of input channels.
- The type of values passed between the channelsCreates and attaches a new operator processing values from the channel
closure
- The function to invoke on all incoming values as part of the new operator's body
- The type of values returned from the supplied closureMakes the output of the current channel to be an input for the specified channel
target
- The channel to copy data intoSchedule closure to be executed after data became available. It is important to notice that even if the expression is already bound the execution of closure will not happen immediately but will be scheduled
rightShift() redefines the >> operator so you can write df >> {println it} instead of df.whenBound{println it}
closure
- closure to execute when data becomes available. The closure should take at most one argument.Allows the closure to output different values to different output channels.
outputs
- The channels to send data to.code
- A closure returning a list of values to pass to the output channels. Values are output to the output channels with identical index.Allows the closure to output different values to different output channels.
pool
- The thread pool to useoutputs
- The channels to send data to.code
- A closure returning a list of values to pass to the output channels. Values are output to the output channels with identical index.Allows the closure to output different values to different output channels.
group
- The PGroup to useoutputs
- The channels to send data to.code
- A closure returning a list of values to pass to the output channels. Values are output to the output channels with identical index.Allows the closure to output different values to different output channels.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)outputs
- The channels to send data to.code
- A closure returning a list of values to pass to the output channels. Values are output to the output channels with identical index.Allows the closure to output different values to different output channels.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)pool
- The thread pool to useoutputs
- The channels to send data to.code
- A closure returning a list of values to pass to the output channels. Values are output to the output channels with identical index.Allows the closure to output different values to different output channels.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)group
- The PGroup to useoutputs
- The channels to send data to.code
- A closure returning a list of values to pass to the output channels. Values are output to the output channels with identical index.Splits the output of the current channel to be an input for the specified channels
target1
- The first channel to copy data intotarget2
- The second channel to copy data intoSplits the output of the current channel to be an input for the specified channels
pool
- The thread pool to usetarget1
- The first channel to copy data intotarget2
- The second channel to copy data intoSplits the output of the current channel to be an input for the specified channels
group
- The PGroup to usetarget1
- The first channel to copy data intotarget2
- The second channel to copy data intoMakes the output of the current channel to be an input for the specified channels
targets
- The channels to copy data intoMakes the output of the current channel to be an input for the specified channels
pool
- The thread pool to usetargets
- The channels to copy data intoMakes the output of the current channel to be an input for the specified channels
group
- The PGroup to usetargets
- The channels to copy data intoSplits the output of the current channel to be an input for the specified channels
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)target1
- The first channel to copy data intotarget2
- The second channel to copy data intoSplits the output of the current channel to be an input for the specified channels
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)pool
- The thread pool to usetarget1
- The first channel to copy data intotarget2
- The second channel to copy data intoSplits the output of the current channel to be an input for the specified channels
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)group
- The PGroup to usetarget1
- The first channel to copy data intotarget2
- The second channel to copy data intoMakes the output of the current channel to be an input for the specified channels
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)targets
- The channels to copy data intoMakes the output of the current channel to be an input for the specified channels
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)pool
- The thread pool to usetargets
- The channels to copy data intoMakes the output of the current channel to be an input for the specified channels
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)group
- The PGroup to usetargets
- The channels to copy data intoTaps into the pipeline. The supplied channel will receive a copy of all messages passed through.
target
- The channel to tap data intoTaps into the pipeline. The supplied channel will receive a copy of all messages passed through.
pool
- The thread pool to usetarget
- The channel to tap data intoTaps into the pipeline. The supplied channel will receive a copy of all messages passed through.
group
- The PGroup to usetarget
- The channel to tap data intoTaps into the pipeline. The supplied channel will receive a copy of all messages passed through.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)target
- The channel to tap data intoTaps into the pipeline. The supplied channel will receive a copy of all messages passed through.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)pool
- The thread pool to usetarget
- The channel to tap data intoTaps into the pipeline. The supplied channel will receive a copy of all messages passed through.
params
- Additional parameters to initialize the operator with (e.g. listeners or maxForks)group
- The PGroup to usetarget
- The channel to tap data intoSchedule closure to be executed after data became available. It is important to notice that even if the expression is already bound the execution of closure will not happen immediately but will be scheduled
closure
- closure to execute when data becomes available. The closure should take at most one argument.Schedule closure to be executed after data becomes available. It is important to notice that even if the expression is already bound the execution of closure will not happen immediately but will be scheduled.
pool
- The thread pool to use for task scheduling for asynchronous message deliveryclosure
- closure to execute when data becomes available. The closure should take at most one argument.Schedule closure to be executed after data becomes available. It is important to notice that even if the expression is already bound the execution of closure will not happen immediately but will be scheduled.
group
- The PGroup to use for task scheduling for asynchronous message deliveryclosure
- closure to execute when data becomes available. The closure should take at most one argument.Schedule closure to be executed after data becomes available. It is important to notice that even if the expression is already bound the execution of closure will not happen immediately but will be scheduled.
closure
- closure to execute when data becomes available. The closure should take at most one argument.Schedule closure to be executed after data becomes available. It is important to notice that even if the expression is already bound the execution of closure will not happen immediately but will be scheduled.
pool
- The thread pool to use for task scheduling for asynchronous message deliveryclosure
- closure to execute when data becomes available. The closure should take at most one argument.Schedule closure to be executed after data becomes available. It is important to notice that even if the expression is already bound the execution of closure will not happen immediately but will be scheduled.
group
- The PGroup to use for task scheduling for asynchronous message deliveryclosure
- closure to execute when data becomes available. The closure should take at most one argument.Send the bound data to provided stream when it becomes available
stream
- stream where to send result