Package com.yahoo.container
Class StatisticsConfig.Builder
- java.lang.Object
-
- com.yahoo.container.StatisticsConfig.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- StatisticsConfig
public static class StatisticsConfig.Builder extends java.lang.Object implements com.yahoo.config.ConfigInstance.Builder
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<StatisticsConfig.Counterresets.Builder>
counterresets
java.util.List<StatisticsConfig.Values.Builder>
values
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(StatisticsConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatisticsConfig
build()
StatisticsConfig.Builder
collectionintervalsec(double __value)
StatisticsConfig.Builder
counterresets(StatisticsConfig.Counterresets.Builder __builder)
Add the given builder to this builder's list of Counterresets buildersStatisticsConfig.Builder
counterresets(java.util.List<StatisticsConfig.Counterresets.Builder> __builders)
Set the given list as this builder's list of Counterresets buildersboolean
dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
java.lang.String
getDefMd5()
java.lang.String
getDefName()
java.lang.String
getDefNamespace()
StatisticsConfig.Builder
loggingintervalsec(double __value)
StatisticsConfig.Builder
values(StatisticsConfig.Values.Builder __builder)
Add the given builder to this builder's list of Values buildersStatisticsConfig.Builder
values(java.util.List<StatisticsConfig.Values.Builder> __builders)
Set the given list as this builder's list of Values builders
-
-
-
Field Detail
-
values
public java.util.List<StatisticsConfig.Values.Builder> values
-
counterresets
public java.util.List<StatisticsConfig.Counterresets.Builder> counterresets
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(StatisticsConfig config)
-
-
Method Detail
-
collectionintervalsec
public StatisticsConfig.Builder collectionintervalsec(double __value)
-
loggingintervalsec
public StatisticsConfig.Builder loggingintervalsec(double __value)
-
values
public StatisticsConfig.Builder values(StatisticsConfig.Values.Builder __builder)
Add the given builder to this builder's list of Values builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
values
public StatisticsConfig.Builder values(java.util.List<StatisticsConfig.Values.Builder> __builders)
Set the given list as this builder's list of Values builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
counterresets
public StatisticsConfig.Builder counterresets(StatisticsConfig.Counterresets.Builder __builder)
Add the given builder to this builder's list of Counterresets builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
counterresets
public StatisticsConfig.Builder counterresets(java.util.List<StatisticsConfig.Counterresets.Builder> __builders)
Set the given list as this builder's list of Counterresets builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
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 StatisticsConfig build()
-
-