Class ProtonConfig.Flush.Memory.Builder
java.lang.Object
com.yahoo.vespa.config.search.core.ProtonConfig.Flush.Memory.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- ProtonConfig.Flush.Memory
public static final class ProtonConfig.Flush.Memory.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Make a new builder and run the supplied function on it before adding it to the listdiskbloatfactor(double __value) each(ProtonConfig.Flush.Memory.Each.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listmaxage(ProtonConfig.Flush.Memory.Maxage.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listmaxmemory(long __value) maxtlssize(long __value)
-
Field Details
-
each
-
maxage
-
conservative
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
maxmemory
-
diskbloatfactor
-
maxtlssize
-
each
-
each
public ProtonConfig.Flush.Memory.Builder each(Consumer<ProtonConfig.Flush.Memory.Each.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
-
maxage
-
maxage
public ProtonConfig.Flush.Memory.Builder maxage(Consumer<ProtonConfig.Flush.Memory.Maxage.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
-
conservative
public ProtonConfig.Flush.Memory.Builder conservative(ProtonConfig.Flush.Memory.Conservative.Builder __builder) -
conservative
public ProtonConfig.Flush.Memory.Builder conservative(Consumer<ProtonConfig.Flush.Memory.Conservative.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
-
build
-