Class Cluster

java.lang.Object
ai.vespa.cloud.Cluster

public class Cluster extends Object
The properties of a cluster of nodes.
Author:
gjoranv
  • Constructor Details

    • Cluster

      @Deprecated(forRemoval=true) public Cluster(int size, List<Integer> indices)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • Cluster

      public Cluster(String id, int size, List<Integer> indices)
  • Method Details

    • id

      public String id()
      Returns the id of this cluster set in services.xml
    • size

      public int size()
      Returns the number of nodes in this cluster.
    • indices

      public List<Integer> indices()
      Returns a list of node indices in this cluster.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object