| 
 | org.codehaus.gpars | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovyx.gpars.dataflow.operator.PoisonPill
public class PoisonPill
Represents the poison for dataflow operators. After receiving the poison a dataflow operator will send the poisson to all its output channels and terminate. Non=immediate poison will allow selectors to keep processing all remaining inputs until these get also poisoned. There§s no difference in behavior between immediate and non=immediate poison pills when obtained bz an operator.
| Field Summary | |
|---|---|
| private boolean | immediate | 
| private static PoisonPill | immediateInstance | 
| private static PoisonPill | ourInstance | 
| Constructor Summary | |
| PoisonPill() | |
| PoisonPill(boolean immediate) | |
| Method Summary | |
|---|---|
| void | countDown() | 
| static PoisonPill | getImmediateInstance() | 
| static PoisonPill | getInstance() | 
| boolean | isImmediate() | 
| 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 final boolean immediate
private static final PoisonPill immediateInstance
private static final PoisonPill ourInstance
| Constructor Detail | 
|---|
PoisonPill()
PoisonPill(boolean immediate)
| Method Detail | 
|---|
void countDown()
public static PoisonPill getImmediateInstance()
public static PoisonPill getInstance()
public final boolean isImmediate()
Copyright © 2008–2013 Václav Pech. All Rights Reserved.