public class DiscoCache extends Object
@Nullable public MvccCoordinator mvccCoordinator()
public AffinityTopologyVersion version()
public IgniteProductVersion minimumNodeVersion()
public IgniteProductVersion minimumServerNodeVersion()
public DiscoveryDataClusterState state()
public ClusterNode localNode()
public List<ClusterNode> remoteNodes()
@Nullable public List<? extends BaselineNode> baselineNodes()
null if baseline topology was not set.public boolean baselineNode(UUID nodeId)
nodeId - Node ID to check.True if baseline is not set or the node is in the baseline topology.public List<ClusterNode> allNodes()
public List<ClusterNode> serverNodes()
public List<ClusterNode> daemonNodes()
public Map<UUID,Short> consistentIdMap()
public Map<Short,UUID> nodeIdMap()
public Collection<ClusterNode> remoteAliveNodesWithCaches()
public Collection<ClusterNode> aliveServerNodes()
@Nullable public Collection<ClusterNode> aliveBaselineNodes()
null if baseline
topology was not set.public boolean baselineNode(ClusterNode node)
node - Node to check.True if the node is in baseline or if baseline is not set.@Nullable public ClusterNode oldestAliveServerNode()
@Nullable public ClusterNode oldestServerNode()
public boolean alive(UUID nodeId)
nodeId - Node ID.True if node is in alives list.public List<ClusterNode> cacheNodes(@Nullable String cacheName)
cacheName - Cache name.public List<ClusterNode> cacheNodes(Integer cacheId)
cacheId - Cache ID.public List<ClusterNode> cacheGroupAffinityNodes(int grpId)
grpId - Cache group ID.@Nullable public ClusterNode node(UUID id)
id - Node ID.public void updateAlives(ClusterNode rmvd)
rmvd - Removed node.public void updateAlives(GridDiscoveryManager discovery)
discovery - Discovery manager.@Nullable public ClusterNode serverNodeByOrder(long order)
order - Order.public <T> boolean checkAttribute(String name, T expVal)
True if all nodes has the given attribute and its value equals to expVal.T - Attribute Type.name - Attribute name.expVal - Expected value.True if all the given nodes has the given attribute and its value equals to expVal.public DiscoCache copy(AffinityTopologyVersion ver, @Nullable DiscoveryDataClusterState state)
ver - Topology version.state - Not null state if need override state, otherwise current state is used.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019