public class SKeyedGatherExample.GatherBulkReceiver extends java.lang.Object implements BulkReceiver
| Constructor and Description | 
|---|
GatherBulkReceiver()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
init(Config cfg,
    java.util.Set<java.lang.Integer> expectedIds)
Initialize the receiver 
 | 
boolean | 
receive(int target,
       java.util.Iterator<java.lang.Object> it)
Receive to specific target 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsyncpublic void init(Config cfg, java.util.Set<java.lang.Integer> expectedIds)
BulkReceiverinit in interface BulkReceivercfg - configurationexpectedIds - expected targetspublic boolean receive(int target,
                       java.util.Iterator<java.lang.Object> it)
BulkReceiverreceive in interface BulkReceivertarget - the targetit - iterator with messages