public class ClusterGraph extends Object
| Constructor and Description |
|---|
ClusterGraph(CommunicationFailureContext ctx,
Predicate<ClusterNode> nodeFilterOut)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkFullyConnected(BitSet nodesSet)
Checks that given
nodesSet forms fully-connected component. |
List<BitSet> |
findConnectedComponents()
Finds connected components in cluster graph.
|
BitSet |
findLargestFullyConnectedComponent(BitSet nodesSet)
Finds largest fully-connected component from given
nodesSet. |
public ClusterGraph(CommunicationFailureContext ctx, Predicate<ClusterNode> nodeFilterOut)
ctx - Communication failure context.nodeFilterOut - Filter to exclude some cluster nodes from graph.public List<BitSet> findConnectedComponents()
public BitSet findLargestFullyConnectedComponent(BitSet nodesSet)
nodesSet.nodesSet - Set of nodes.public boolean checkFullyConnected(BitSet nodesSet)
nodesSet forms fully-connected component.nodesSet - Set of cluster nodes.True if all given cluster nodes are able to connect to each other.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020