|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SelectableChannel<T>
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<T> |
poll()
Retrieves the value at the head of the buffer. |
|
|
wheneverBound(groovy.lang.Closure<V> 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 |
---|
<V> void wheneverBound(groovy.lang.Closure<V> closure)
closure
- closure to execute when data becomes available. The closure should take at most one argument.void wheneverBound(MessageStream stream)
stream
- stream where to send resultDataflowExpression<T> poll() throws java.lang.InterruptedException
java.lang.InterruptedException
- If the current thread is interrupted
|
Copyright © 2008–2013 Václav Pech. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |