public class PartitionStreamingOperation.PartitionBulkReceiver extends java.lang.Object implements SingularReceiver
Constructor and Description |
---|
PartitionBulkReceiver() |
Modifier and Type | Method and Description |
---|---|
void |
init(Config cfg,
java.util.Set<java.lang.Integer> targets)
Initialize a receiver
|
boolean |
receive(int target,
java.lang.Object data)
Receive an object for a target id.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sync
public void init(Config cfg, java.util.Set<java.lang.Integer> targets)
SingularReceiver
init
in interface SingularReceiver
cfg
- configurationtargets
- the target idspublic boolean receive(int target, java.lang.Object data)
SingularReceiver
receive
in interface SingularReceiver
target
- target iddata
- object