|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovyx.gpars.dataflow.stream.DataflowStreamWriteAdapter
@java.lang.SuppressWarningspublic final DataflowWriteChannelleftShift(final T value) { public class DataflowStreamWriteAdapter
Adapts a DataflowStream to accommodate for the DataflowWriteChannel interface. It also synchronizes all changes to the underlying stream allowing multiple threads accessing the stream concurrently.
- The type of messages to pass through the streamField Summary | |
---|---|
private StreamCore |
head
|
Constructor Summary | |
DataflowStreamWriteAdapter(StreamCore stream)
|
Method Summary | |
---|---|
void
|
bind(java.lang.Object value)
|
protected StreamCore
|
getHead()
|
DataflowWriteChannel
|
leftShift(java.lang.Object value)
|
DataflowWriteChannel
|
leftShift(DataflowReadChannel ref)
|
java.lang.String
|
toString()
|
private StreamCore
|
updateHead()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
private StreamCore head
Constructor Detail |
---|
public DataflowStreamWriteAdapter(StreamCore stream)
Method Detail |
---|
@java.lang.Override public final void bind(java.lang.Object value)
protected final StreamCore getHead()
@java.lang.Override} public final DataflowWriteChannel leftShift(java.lang.Object value)
@java.lang.Override*/ public final DataflowWriteChannel leftShift(DataflowReadChannel ref)
@java.lang.Override public java.lang.String toString()
private StreamCore updateHead()
Copyright © 2008–2013 Václav Pech. All Rights Reserved.