Package com.yahoo.search.config
Class ClusterConfig.Builder
- java.lang.Object
-
- com.yahoo.search.config.ClusterConfig.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- ClusterConfig
public static class ClusterConfig.Builder extends java.lang.Object implements com.yahoo.config.ConfigInstance.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ClusterConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterConfig
build()
ClusterConfig.Builder
cacheSize(int __value)
ClusterConfig.Builder
cacheTimeout(double __value)
ClusterConfig.Builder
clusterId(int __value)
ClusterConfig.Builder
clusterName(java.lang.String __value)
boolean
dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
ClusterConfig.Builder
failoverToRemote(boolean __value)
java.lang.String
getDefMd5()
java.lang.String
getDefName()
java.lang.String
getDefNamespace()
ClusterConfig.Builder
maxQueryCacheTimeout(double __value)
ClusterConfig.Builder
maxQueryTimeout(double __value)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ClusterConfig config)
-
-
Method Detail
-
clusterId
public ClusterConfig.Builder clusterId(int __value)
-
cacheSize
public ClusterConfig.Builder cacheSize(int __value)
-
cacheTimeout
public ClusterConfig.Builder cacheTimeout(double __value)
-
failoverToRemote
public ClusterConfig.Builder failoverToRemote(boolean __value)
-
clusterName
public ClusterConfig.Builder clusterName(java.lang.String __value)
-
maxQueryTimeout
public ClusterConfig.Builder maxQueryTimeout(double __value)
-
maxQueryCacheTimeout
public ClusterConfig.Builder maxQueryCacheTimeout(double __value)
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
- Specified by:
dispatchGetConfig
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
public final java.lang.String getDefMd5()
- Specified by:
getDefMd5
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
public final java.lang.String getDefName()
- Specified by:
getDefName
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
public final java.lang.String getDefNamespace()
- Specified by:
getDefNamespace
in interfacecom.yahoo.config.ConfigInstance.Builder
-
build
public ClusterConfig build()
-
-