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 Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
collectionintervalsec
(double __value) Add the given builder to this builder's list of Counterresets buildersMake a new builder and run the supplied function on it before adding it to the listcounterresets
(List<StatisticsConfig.Counterresets.Builder> __builders) Set the given list as this builder's list of Counterresets buildersfinal boolean
dispatchGetConfig
(com.yahoo.config.ConfigInstance.Producer producer) final boolean
final String
final String
final String
loggingintervalsec
(double __value) final void
setApplyOnRestart
(boolean applyOnRestart) values
(StatisticsConfig.Values.Builder __builder) Add the given builder to this builder's list of Values buildersMake a new builder and run the supplied function on it before adding it to the listvalues
(List<StatisticsConfig.Values.Builder> __builders) Set the given list as this builder's list of Values builders
-
Field Details
-
values
-
counterresets
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
collectionintervalsec
-
loggingintervalsec
-
values
Add the given builder to this builder's list of Values builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
values
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
values
Set the given list as this builder's list of Values builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
counterresets
Add the given builder to this builder's list of Counterresets builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
counterresets
public StatisticsConfig.Builder counterresets(Consumer<StatisticsConfig.Counterresets.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
counterresets
public StatisticsConfig.Builder counterresets(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
- Specified by:
getDefMd5
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
- Specified by:
getDefName
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
- Specified by:
getDefNamespace
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()- Specified by:
getApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart) - Specified by:
setApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
build
-