void addPredecessor(TopologyDescription.Node predecessor)
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 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).
| AbstractNode | Description |
|---|---|
Adding Predecessor — addPredecessor Method
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).
|