|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface SelectableChannel
Created with IntelliJ IDEA. User: Vaclav Date: 5.7.13 Time: 22:17 To change this template use File | Settings | File Templates.
Method Summary | |
---|---|
DataflowExpression
|
poll()
Retrieves the value at the head of the buffer. |
void
|
wheneverBound(groovy.lang.Closure closure)
Send all pieces of data bound in the future to the provided stream when it becomes available |
void
|
wheneverBound(MessageStream stream)
Send all pieces of data bound in the future to the provided stream when it becomes available. |
Method Detail |
---|
@java.lang.SuppressWarnings({"ClassReferencesSubclass"}) public DataflowExpression poll()
public void wheneverBound(groovy.lang.Closure closure)
closure
- closure to execute when data becomes available. The closure should take at most one argument.
public void wheneverBound(MessageStream stream)
stream
- stream where to send result
Copyright © 2008–2013 Václav Pech. All Rights Reserved.