Package com.yahoo.vespa.config.content
Class DistributionConfig.Cluster.Builder
java.lang.Object
com.yahoo.vespa.config.content.DistributionConfig.Cluster.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- DistributionConfig.Cluster
public static final class DistributionConfig.Cluster.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactive_per_leaf_group(boolean __value) build()group(DistributionConfig.Cluster.Group.Builder __builder) Add the given builder to this builder's list of Group buildersMake a new builder and run the supplied function on it before adding it to the listgroup(List<DistributionConfig.Cluster.Group.Builder> __builders) Set the given list as this builder's list of Group buildersinitial_redundancy(int __value) ready_copies(int __value) redundancy(int __value)
-
Field Details
-
group
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
active_per_leaf_group
-
ready_copies
-
redundancy
-
initial_redundancy
-
group
Add the given builder to this builder's list of Group builders- Parameters:
__builder- a builder- Returns:
- this builder
-
group
public DistributionConfig.Cluster.Builder group(Consumer<DistributionConfig.Cluster.Group.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
-
group
public DistributionConfig.Cluster.Builder group(List<DistributionConfig.Cluster.Group.Builder> __builders) Set the given list as this builder's list of Group builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
build
-