Apache REEF
0.15.0
Retainable Evaluator Execution Framework
|
Contains the Operator's topology graph. More...
Inherits Org.Apache.REEF.Network.Group.Task.IOperatorTopology< T >, and IObserver< GeneralGroupCommunicationMessage >.
Public Member Functions | |
void | Initialize () |
Initializes operator topology. More... | |
void | OnNext (GeneralGroupCommunicationMessage gcm) |
Handles the incoming GroupCommunicationMessage. More... | |
void | SendToParent (T message, MessageType type) |
Sends the message to the parent Task. More... | |
void | SendToChildren (T message, MessageType type) |
Sends the message to all child Tasks. More... | |
void | ScatterToChildren (IList< T > messages, MessageType type) |
Splits the list of messages up evenly and sends each sublist to the child Tasks. More... | |
void | ScatterToChildren (IList< T > messages, int count, MessageType type) |
Splits the list of messages up into chunks of the specified size and sends each sublist to the child Tasks. More... | |
void | ScatterToChildren (IList< T > messages, List< string > order, MessageType type) |
Splits the list of messages up into chunks of the specified size and sends each sublist to the child Tasks in the specified order. More... | |
T | ReceiveFromParent () |
Receive an incoming message from the parent Task. More... | |
IList< T > | ReceiveListFromParent () |
Receive a list of incoming messages from the parent Task. More... | |
T | ReceiveFromChildren (IReduceFunction< T > reduceFunction) |
Receives all messages from child Tasks and reduces them with the given IReduceFunction. More... | |
void | OnError (Exception error) |
void | OnCompleted () |
bool | HasChildren () |
Checks if the node has children More... | |
Contains the Operator's topology graph.
Writable version Used to send or receive messages to/from operators in the same Communication Group.
T | The message type |
|
inline |
Checks if the node has children
Implements Org.Apache.REEF.Network.Group.Task.IOperatorTopology< T >.
|
inline |
Initializes operator topology.
Waits until all Tasks in the CommunicationGroup have registered themselves with the Name Service.
Implements Org.Apache.REEF.Network.Group.Task.IOperatorTopology< T >.
|
inline |
|
inline |
|
inline |
Handles the incoming GroupCommunicationMessage.
Updates the sending node's message queue.
gcm | The incoming message |
|
inline |
Receives all messages from child Tasks and reduces them with the given IReduceFunction.
reduceFunction | The class used to reduce messages |
Implements Org.Apache.REEF.Network.Group.Task.IOperatorTopology< T >.
|
inline |
Receive an incoming message from the parent Task.
Implements Org.Apache.REEF.Network.Group.Task.IOperatorTopology< T >.
|
inline |
Receive a list of incoming messages from the parent Task.
Implements Org.Apache.REEF.Network.Group.Task.IOperatorTopology< T >.
|
inline |
Splits the list of messages up evenly and sends each sublist to the child Tasks.
messages | The list of messages to scatter |
type | The message type |
Implements Org.Apache.REEF.Network.Group.Task.IOperatorTopology< T >.
|
inline |
Splits the list of messages up into chunks of the specified size and sends each sublist to the child Tasks.
messages | The list of messages to scatter |
count | The size of each sublist |
type | The message type |
Implements Org.Apache.REEF.Network.Group.Task.IOperatorTopology< T >.
|
inline |
Splits the list of messages up into chunks of the specified size and sends each sublist to the child Tasks in the specified order.
messages | The list of messages to scatter |
order | The order to send messages |
type | The message type |
Implements Org.Apache.REEF.Network.Group.Task.IOperatorTopology< T >.
|
inline |
Sends the message to all child Tasks.
message | The message to send |
type | The message type |
Implements Org.Apache.REEF.Network.Group.Task.IOperatorTopology< T >.
|
inline |
Sends the message to the parent Task.
message | The message to send |
type | The message type |
Implements Org.Apache.REEF.Network.Group.Task.IOperatorTopology< T >.