Class ProviderConfig

java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.search.federation.ProviderConfig

public final class ProviderConfig extends com.yahoo.config.ConfigInstance
This class represents the root node of provider 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()
    • node

      public List<ProviderConfig.Node> node()
      Returns:
      provider.node[]
    • node

      public ProviderConfig.Node node(int i)
      Parameters:
      i - the index of the value to return
      Returns:
      provider.node[]
    • path

      public String path()
      Returns:
      provider.path
    • maxConnections

      public int maxConnections()
      Returns:
      provider.maxConnections
    • maxConnectionPerRoute

      public int maxConnectionPerRoute()
      Returns:
      provider.maxConnectionPerRoute
    • socketBufferBytes

      public int socketBufferBytes()
      Returns:
      provider.socketBufferBytes
    • retries

      public int retries()
      Returns:
      provider.retries
    • readTimeout

      public double readTimeout()
      Returns:
      provider.readTimeout
    • connectionTimeout

      public double connectionTimeout()
      Returns:
      provider.connectionTimeout
    • connectionPoolTimeout

      public double connectionPoolTimeout()
      Returns:
      provider.connectionPoolTimeout
    • yca

      public ProviderConfig.Yca yca()
      Returns:
      provider.yca
    • queryType

      public ProviderConfig.QueryType.Enum queryType()
      Returns:
      provider.queryType
    • pingOption

      public ProviderConfig.PingOption.Enum pingOption()
      Returns:
      provider.pingOption
    • followRedirects

      public boolean followRedirects()
      Returns:
      provider.followRedirects