Package com.yahoo.vespa.config.content
Class StorDistributionConfig
java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.vespa.config.content.StorDistributionConfig
public final class StorDistributionConfig
extends com.yahoo.config.ConfigInstance
This class represents the root node of stor-distribution
Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classThis class represents stor-distribution.group[]static interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.yahoo.config.ConfigInstance
getDefName, getDefNamespace, serialize, serializeMethods inherited from class com.yahoo.config.InnerNode
equals, getAllDescendantLeafNodes, getChildren, getChildrenWithVectorsFlattened, hashCode, postInitialize, toStringMethods inherited from class com.yahoo.config.Node
clone
-
Field Details
-
CONFIG_DEF_MD5
- See Also:
-
CONFIG_DEF_NAME
- See Also:
-
CONFIG_DEF_NAMESPACE
- See Also:
-
CONFIG_DEF_SCHEMA
-
-
Constructor Details
-
StorDistributionConfig
-
-
Method Details
-
getDefMd5
-
getDefName
-
getDefNamespace
-
redundancy
public int redundancy()- Returns:
- stor-distribution.redundancy
-
initial_redundancy
public int initial_redundancy()- Returns:
- stor-distribution.initial_redundancy
-
ensure_primary_persisted
public boolean ensure_primary_persisted()- Returns:
- stor-distribution.ensure_primary_persisted
-
ready_copies
public int ready_copies()- Returns:
- stor-distribution.ready_copies
-
active_per_leaf_group
public boolean active_per_leaf_group()- Returns:
- stor-distribution.active_per_leaf_group
-
group
- Returns:
- stor-distribution.group[]
-
group
- Parameters:
i- the index of the value to return- Returns:
- stor-distribution.group[]
-