Class ClusterInfoConfig

java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.cloud.config.ClusterInfoConfig

public final class ClusterInfoConfig extends com.yahoo.config.ConfigInstance
This class represents the root node of cluster-info Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. Information about the cluster the subscriber is a part of
  • Field Details

  • Constructor Details

  • Method Details

    • getDefMd5

      public static String getDefMd5()
    • getDefName

      public static String getDefName()
    • getDefNamespace

      public static String getDefNamespace()
    • clusterId

      public String clusterId()
      Returns:
      cluster-info.clusterId
    • nodeCount

      public int nodeCount()
      Returns:
      cluster-info.nodeCount
    • nodeIndices

      public List<Integer> nodeIndices()
      Returns:
      cluster-info.nodeIndices[]
    • nodeIndices

      public int nodeIndices(int i)
      Parameters:
      i - the index of the value to return
      Returns:
      cluster-info.nodeIndices[]
    • services

      public List<ClusterInfoConfig.Services> services()
      Returns:
      cluster-info.services[]
    • services

      public ClusterInfoConfig.Services services(int i)
      Parameters:
      i - the index of the value to return
      Returns:
      cluster-info.services[]