public class KeyedPartitionBatchOperation extends AbstractParallelOperation
Modifier and Type | Class and Description |
---|---|
class |
KeyedPartitionBatchOperation.PartitionReceiver |
channel, config, inEdge, logicalPlan, outMessages, syncs
Constructor and Description |
---|
KeyedPartitionBatchOperation(Config config,
Communicator network,
LogicalPlan tPlan,
java.util.Set<java.lang.Integer> srcs,
java.util.Set<java.lang.Integer> dests,
Edge edge,
java.util.Map<java.lang.Integer,java.lang.Integer> srcGlobalToIndex,
java.util.Map<java.lang.Integer,java.lang.Integer> tgtsGlobalToIndex) |
Modifier and Type | Method and Description |
---|---|
BaseOperation |
getOp() |
boolean |
send(int source,
IMessage message,
int flags)
Send a message over the operation
|
close, finish, isComplete, progress, register, registerSync, reset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sendBarrier
public KeyedPartitionBatchOperation(Config config, Communicator network, LogicalPlan tPlan, java.util.Set<java.lang.Integer> srcs, java.util.Set<java.lang.Integer> dests, Edge edge, java.util.Map<java.lang.Integer,java.lang.Integer> srcGlobalToIndex, java.util.Map<java.lang.Integer,java.lang.Integer> tgtsGlobalToIndex)
public boolean send(int source, IMessage message, int flags)
IParallelOperation
source
- sourcemessage
- the messagepublic BaseOperation getOp()