|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DataFlowReadChannel | |
---|---|
groovyx.gpars.dataflow | This package holds classes for basic dataflow concurrency constructs, like dataflow variables, streams and threads. |
groovyx.gpars.dataflow.impl | |
groovyx.gpars.dataflow.stream |
Uses of DataFlowReadChannel in groovyx.gpars.dataflow |
---|
Subinterfaces of DataFlowReadChannel in groovyx.gpars.dataflow | |
---|---|
interface |
DataFlowChannel<T>
A common interface for all dataflow variables, streams or queues |
Classes in groovyx.gpars.dataflow that implement DataFlowReadChannel | |
---|---|
class |
DataFlowComplexExpression<T>
|
class |
DataFlowExpression<T>
The base class for all dataflow elements. |
private static class |
DataFlowExpression.TransformMany<V>
|
private static class |
DataFlowExpression.TransformOne<V>
|
class |
DataFlowGetPropertyExpression<T>
DFE which evaluate property when receiver became available |
class |
DataFlowInvocationExpression
Data flow expression which invokes method of object after receiver and all arguments became available |
class |
DataFlowQueue<T>
Represents a thread-safe data flow stream. |
class |
DataFlowVariable<T>
Represents a thread-safe single-assignment, multi-read variable. |
static class |
DataFlowVariable.RemoteDataFlowVariable<T>
|
class |
RemoteDataFlowExpression<T>
|
Methods in groovyx.gpars.dataflow that return DataFlowReadChannel | |
---|---|
DataFlowReadChannel<T> |
DataFlowBroadcast.createReadChannel()
Retrieves an implementation of DataFlowReadChannel to read all messages submitted to the broadcast chanel. |
Methods in groovyx.gpars.dataflow with parameters of type DataFlowReadChannel | |
---|---|
DataFlowWriteChannel<T> |
DataFlowQueue.leftShift(DataFlowReadChannel<T> ref)
Adds a DataFlowVariable to the buffer. |
DataFlowWriteChannel<T> |
DataFlowVariable.leftShift(DataFlowReadChannel<T> ref)
Assigns a value from one DataFlowVariable instance to this variable. |
DataFlowWriteChannel<T> |
DataFlowWriteChannel.leftShift(DataFlowReadChannel<T> ref)
Assigns a value from one DataFlowVariable instance to this variable. |
static groovyx.gpars.dataflow.operator.DataFlowProcessor |
DataFlow.operator(DataFlowReadChannel input,
DataFlowWriteChannel output,
groovy.lang.Closure code)
Creates an operator using the current parallel group |
static groovyx.gpars.dataflow.operator.DataFlowProcessor |
DataFlow.operator(DataFlowReadChannel input,
DataFlowWriteChannel output,
int maxForks,
groovy.lang.Closure code)
Creates an operator using the current parallel group |
static Select<?> |
DataFlow.select(DataFlowReadChannel<?>... channels)
Creates a select using the default dataflow parallel group. |
static groovyx.gpars.dataflow.operator.DataFlowProcessor |
DataFlow.splitter(DataFlowReadChannel inputChannel,
java.util.List<DataFlowWriteChannel> outputChannels)
Creates a splitter copying its single input channel into all of its output channels. |
static groovyx.gpars.dataflow.operator.DataFlowProcessor |
DataFlow.splitter(DataFlowReadChannel inputChannel,
java.util.List<DataFlowWriteChannel> outputChannels,
int maxForks)
Creates a splitter copying its single input channel into all of its output channels. |
Method parameters in groovyx.gpars.dataflow with type arguments of type DataFlowReadChannel | |
---|---|
static Select<?> |
DataFlow.select(java.util.List<DataFlowReadChannel> channels)
Creates a select using the default dataflow parallel group. |
Constructors in groovyx.gpars.dataflow with parameters of type DataFlowReadChannel | |
---|---|
Select(groovyx.gpars.group.PGroup pGroup,
DataFlowReadChannel<? extends T>... channels)
|
Constructor parameters in groovyx.gpars.dataflow with type arguments of type DataFlowReadChannel | |
---|---|
Select(groovyx.gpars.group.PGroup pGroup,
java.util.List<DataFlowReadChannel<? extends T>> channels)
|
Uses of DataFlowReadChannel in groovyx.gpars.dataflow.impl |
---|
Fields in groovyx.gpars.dataflow.impl declared as DataFlowReadChannel | |
---|---|
private DataFlowReadChannel<? extends T> |
SelectCallback.channel
|
Fields in groovyx.gpars.dataflow.impl with type parameters of type DataFlowReadChannel | |
---|---|
private java.util.List<DataFlowReadChannel<? extends T>> |
SelectBase.channels
|
Methods in groovyx.gpars.dataflow.impl with parameters of type DataFlowReadChannel | |
---|---|
(package private) void |
SelectBase.boundNotification(int index,
DataFlowReadChannel<? extends T> channel)
Invoked by the SelectCallback instances, potentially concurrently to inform about new values being available for read from channels. |
private void |
SelectBase.disableDFV(int currentPosition,
DataFlowReadChannel<? extends T> channel)
Sets the flag in the disabledDFVs array, if the channel is a DFV |
Constructors in groovyx.gpars.dataflow.impl with parameters of type DataFlowReadChannel | |
---|---|
SelectCallback(java.lang.Object owner,
int index,
DataFlowReadChannel<? extends T> channel)
|
Constructor parameters in groovyx.gpars.dataflow.impl with type arguments of type DataFlowReadChannel | |
---|---|
SelectBase(groovyx.gpars.group.PGroup pGroup,
java.util.List<DataFlowReadChannel<? extends T>> channels)
Stores the input channel and registers for the wheneverBound() event on each |
Uses of DataFlowReadChannel in groovyx.gpars.dataflow.stream |
---|
Classes in groovyx.gpars.dataflow.stream that implement DataFlowReadChannel | |
---|---|
class |
DataFlowStreamReadAdapter<T>
Adapts a DataFlowStream to accommodate for the DataFlowReadChannel interface. |
Methods in groovyx.gpars.dataflow.stream with parameters of type DataFlowReadChannel | |
---|---|
DataFlowStream<T> |
DataFlowStream.leftShift(DataFlowReadChannel<T> ref)
Adds a dataflow variable value to the stream, once the value is available |
DataFlowWriteChannel<T> |
DataFlowStreamWriteAdapter.leftShift(DataFlowReadChannel<T> ref)
|
|
Copyright © 2008–2010 Václav Pech. All Rights Reserved. | |||||||||
PREV NEXT | FRAMES NO FRAMES |