Hi,

I would suggest going through TopologyValidator implementations in test and
check out something like:
https://github.com/apache/ignite/blob/master/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/IgniteTopologyValidatorGridSplitCacheTest.java

If you want to get the collection of alive baseline nodes, check out for
this method:
org.apache.ignite.internal.managers.discovery.DiscoCache#aliveBaselineNodes

Note that this is internal API and is not exposed to be accessed publicly,
but you can cast Ignite to IgniteEx and access it through calling:
igniteEx.context().discovery().discoCache().aliveBaselineNodes();

Best regards,
Anton



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to