InternalTopologyBuilder.AbstractNode

InternalTopologyBuilder.AbstractNode is the base implementation of the TopologyDescription.Node contract for topology nodes with the size of the (sub)topology rooted at this node (including the node itself).

InternalTopologyBuilder.AbstractNode takes a single name to be created.

InternalTopologyBuilder.AbstractNode has a size which is the size of the (sub)topology rooted at this node (including the node itself).

InternalTopologyBuilder.AbstractNode has predecessors and successors that are TopologyDescription.Nodes before and after the node in a topology (a node graph).

Table 1. InternalTopologyBuilder.AbstractNodes
AbstractNode Description

Source

Processor

Sink

Adding Predecessor — addPredecessor Method

void addPredecessor(TopologyDescription.Node predecessor)

addPredecessor simply adds a new predecessor node to the predecessors internal registry.

Note
addPredecessor is used exclusively when InternalTopologyBuilder is requested to describe a sub-topology (when requested to describe itself).

Adding Successor — addSuccessor Method

void addSuccessor(TopologyDescription.Node successor)

addSuccessor simply adds a new successor node to the successors internal registry.

Note
addSuccessor is used exclusively when InternalTopologyBuilder is requested to describe a sub-topology (when requested to describe itself).

results matching ""

    No results matching ""