Package com.yahoo.search.federation
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 Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classThis class represents provider.node[]static final classThis class represents provider.pingOption How to do pinging against a backend.static interfacestatic final classThis class represents provider.queryType The form of the serialized query.static final classThis class represents provider.yca -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.yahoo.config.ConfigInstance
getDefName, getDefNamespace, serialize, serializeMethods inherited from class com.yahoo.config.InnerNode
equals, getAllDescendantLeafNodes, getChildren, getChildrenWithVectorsFlattened, hashCode, postInitialize, toStringMethods inherited from class com.yahoo.config.Node
clone
-
Field Details
-
CONFIG_DEF_MD5
- See Also:
-
CONFIG_DEF_NAME
- See Also:
-
CONFIG_DEF_NAMESPACE
- See Also:
-
CONFIG_DEF_SCHEMA
-
-
Constructor Details
-
ProviderConfig
-
-
Method Details
-
getDefMd5
-
getDefName
-
getDefNamespace
-
node
- Returns:
- provider.node[]
-
node
- Parameters:
i- the index of the value to return- Returns:
- provider.node[]
-
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
- Returns:
- provider.yca
-
queryType
- Returns:
- provider.queryType
-
pingOption
- Returns:
- provider.pingOption
-
followRedirects
public boolean followRedirects()- Returns:
- provider.followRedirects
-