public class SKeyedReduceExample.FinalSingularReceiver extends java.lang.Object implements SingularReceiver
| Constructor and Description |
|---|
FinalSingularReceiver(int expected) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Config cfg,
java.util.Set<java.lang.Integer> expectedIds)
Initialize a receiver
|
boolean |
receive(int target,
java.lang.Object object)
Receive an object for a target id.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsyncpublic void init(Config cfg, java.util.Set<java.lang.Integer> expectedIds)
SingularReceiverinit in interface SingularReceivercfg - configurationexpectedIds - the target idspublic boolean receive(int target,
java.lang.Object object)
SingularReceiverreceive in interface SingularReceivertarget - target idobject - object