Class ProtonConfig.Flush.Builder
java.lang.Object
com.yahoo.vespa.config.search.core.ProtonConfig.Flush.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- ProtonConfig.Flush
public static final class ProtonConfig.Flush.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()idleinterval(double __value) maxconcurrent(int __value) memory(ProtonConfig.Flush.Memory.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listMake a new builder and run the supplied function on it before adding it to the liststrategy(ProtonConfig.Flush.Strategy.Enum __value)
-
Field Details
-
memory
-
preparerestart
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
maxconcurrent
-
idleinterval
-
strategy
-
memory
-
memory
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
-
preparerestart
public ProtonConfig.Flush.Builder preparerestart(ProtonConfig.Flush.Preparerestart.Builder __builder) -
preparerestart
public ProtonConfig.Flush.Builder preparerestart(Consumer<ProtonConfig.Flush.Preparerestart.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
-