Package groovyx.gpars.dataflow

Examples of groovyx.gpars.dataflow.DataflowWriteChannel.bind()


     */
    public final void bindAllOutputValues(final Object... values) {
        final List<DataflowWriteChannel<?>> outputs = getOutputs();
        for (int i = 0; i < outputs.size(); i++) {
            final DataflowWriteChannel channel = outputs.get(i);
            channel.bind(fireMessageSentOut(channel, i, values[i]));
        }
    }

    /**
     * Used by the processor's body to send a value to all output channels, while guaranteeing atomicity of the operation
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.