class NodeNetwork
NodeNetwork defines the processes that run in parallel on a single node of the cluster and the channels connections used by the node.
nodeProcess
- A NodeInterface that defines the processes that make up the node internal process networkinConnections
- A list containing the channel numbers associated with net input channels for this nodeoutConnections
- A list containing the net output channel connections; each composed of a list
containing the IP address of the node and the channel number to which the output channel is connected.Type | Name and description |
---|---|
List |
inConnections |
NodeInterface |
nodeProcesses |
List |
outConnections |
Constructor and description |
---|
NodeNetwork
() |
Type | Name and description |
---|---|
static List |
BuildHostInChannels(List emitterInConnections, List collectorInConnections) Used to build the host's emit and collect processes channel input connections This method is not user defined but is used within the RunHost script. |
static List |
BuildHostNetwork(NodeNetwork emit, NodeNetwork collector, List inChannels, List outChannels) Used to build the host's emit and collect processes This method is not user defined but is used within the RunHost script. |
static List |
BuildHostOutChannels(List emitterOutConnections, List collectorOutConnections) Used to build the host's emit and collect processes channel output connections This method is not user defined but is used within the RunHost script. |
static ProcessManager |
BuildNodeNetwork(NetChannelOutput hostRequest, NetChannelInput loadChannel, String nodeIP) BuildNodeNetwork is used to invoke an instance of a NodeNetwork. |
Used to build the host's emit and collect processes channel input connections This method is not user defined but is used within the RunHost script.
emitterInConnections
- A list of emit process input connections specified as channel numberscollectorInConnections
- A list of collector process input connections specified as channel numbersUsed to build the host's emit and collect processes This method is not user defined but is used within the RunHost script.
emit
- The emit process definition as a NodeNetworkcollector
- The collector process definition as a NodeNetworkinChannels
- A list of of two elements containing the emit and collector input channelsoutChannels
- A list of of two elements containing the emit and collector output channelsUsed to build the host's emit and collect processes channel output connections This method is not user defined but is used within the RunHost script.
emitterOutConnections
- A List of emitter output connectionscollectorOutConnections
- A List of collector output connectionsBuildNodeNetwork is used to invoke an instance of a NodeNetwork. This method is not user defined but is used within the RunHost script.
hostRequest
- The net channel output used to connect the node to the host nodeloadChannel
- The net channel input used to load the NodeNetwork object from the host nodenodeIP
- A String containing the IP address of the requesting NodeGPP - Groovy Parallel Patterns generated 06112016 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk