Class ClusterConfig

java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.search.config.ClusterConfig

public final class ClusterConfig extends com.yahoo.config.ConfigInstance
This class represents the root node of cluster Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
  • Field Details

  • Constructor Details

  • Method Details

    • getDefMd5

      public static String getDefMd5()
    • getDefName

      public static String getDefName()
    • getDefNamespace

      public static String getDefNamespace()
    • clusterId

      public int clusterId()
      Returns:
      cluster.clusterId
    • cacheSize

      public int cacheSize()
      Returns:
      cluster.cacheSize
    • cacheTimeout

      public double cacheTimeout()
      Returns:
      cluster.cacheTimeout
    • failoverToRemote

      public boolean failoverToRemote()
      Returns:
      cluster.failoverToRemote
    • clusterName

      public String clusterName()
      Returns:
      cluster.clusterName
    • maxQueryTimeout

      public double maxQueryTimeout()
      Returns:
      cluster.maxQueryTimeout
    • maxQueryCacheTimeout

      public double maxQueryCacheTimeout()
      Returns:
      cluster.maxQueryCacheTimeout