|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object groovyx.gpars.dataflow.KanbanTray
@groovy.transform.CompileStatic(value = TypeCheckingMode.PASS) class KanbanTray
A KanbanTray is a container for passing a product around a {@KanbanLink}. A tray always stays within the same KanbanLink, which allows methods like KanbanTray#take#take, KanbanTray#bind#bind and KanbanTray#release#release to work directly on the respective streams without those being exposed to the operator. While full access to the inner workings remains available, it is advised to use the methods KanbanTray#take#take and KanbanTray#bind#bind.
Property Summary | |
---|---|
KanbanLink |
link
|
java.lang.Object |
product
|
Constructor Summary | |
KanbanTray()
|
Method Summary | |
---|---|
void
|
bind(java.lang.Object product)
Put the product in the tray and send it downstream |
java.lang.Object
|
bitwiseNegate()
Alias for KanbanTray#release#release in order to write |
void
|
call(java.lang.Object product)
Alias for KanbanTray#bind#bind in order to write |
void
|
leftShift(java.lang.Object product)
Alias for KanbanTray#bind#bind in order to write |
void
|
release()
Send the empty tray back upstream |
java.lang.Object
|
take()
Take the product from the tray and release the tray. |
java.lang.String
|
toString()
|
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() |
Property Detail |
---|
KanbanLink link
java.lang.Object product
Constructor Detail |
---|
KanbanTray()
Method Detail |
---|
void bind(java.lang.Object product)
java.lang.Object bitwiseNegate()
˜ tray
("shake loose") *
void call(java.lang.Object product)
tray product
*
void leftShift(java.lang.Object product)
tray << product
*
void release()
java.lang.Object take()
java.lang.String toString()
Copyright © 2008–2013 Václav Pech. All Rights Reserved.