public class PartitionOperation extends AbstractParallelOperation
| Modifier and Type | Class and Description |
|---|---|
class |
PartitionOperation.PartitionReceiver |
| Modifier and Type | Field and Description |
|---|---|
protected BTPartition |
op |
channel, config, inEdge, logicalPlan, outMessages, syncs| Constructor and Description |
|---|
PartitionOperation(Config config,
Communicator network,
LogicalPlan tPlan,
java.util.Set<java.lang.Integer> sources,
java.util.Set<java.lang.Integer> targets,
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 |
isComplete()
Check weather the operation is complete
|
boolean |
send(int source,
IMessage message,
int dest)
Send a message over the operation
|
close, finish, progress, register, registerSync, resetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsendBarrierprotected BTPartition op
public PartitionOperation(Config config, Communicator network, LogicalPlan tPlan, java.util.Set<java.lang.Integer> sources, java.util.Set<java.lang.Integer> targets, 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 dest)
IParallelOperationsource - sourcemessage - the messagepublic boolean isComplete()
IParallelOperationisComplete in interface IParallelOperationisComplete in class AbstractParallelOperationpublic BaseOperation getOp()