Interface IgniteCluster


public interface IgniteCluster
Represents an Ignite cluster, providing access to the cluster nodes and the local node.
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
    Returns the current cluster ID.
    @Nullable ClusterNode
    Returns the local cluster node if available.
    Returns all cluster nodes that are part of the logical topology, including the local node if applicable.
    Asynchronously retrieves all cluster nodes that are part of the logical topology, including the local node if applicable.
  • Method Details

    • id

      UUID id()
      Returns the current cluster ID.
      Returns:
      Cluster's current ID.
    • nodes

      Returns all cluster nodes that are part of the logical topology, including the local node if applicable.
      Returns:
      A collection of all cluster nodes.
    • nodesAsync

      Asynchronously retrieves all cluster nodes that are part of the logical topology, including the local node if applicable.
      Returns:
      A future that will complete with a collection of all cluster nodes.
    • localNode

      @Nullable @Nullable ClusterNode localNode()
      Returns the local cluster node if available.
      Returns:
      The local cluster node (in embedded mode), or null if not applicable (e.g., on the client side).