Class RedundancyBuilder
java.lang.Object
com.yahoo.vespa.model.content.cluster.RedundancyBuilder
Builds redundancy config for a content cluster.
- Author:
- bratseth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
RedundancyBuilder
-
-
Method Details
-
build
public Redundancy build(boolean isHosted, Boolean isStreaming, int subGroups, int leafGroups, int totalNodes) - Parameters:
isHosted-isStreaming- true if this cluster only has schemas with streaming mode, false if it only has schemas without streaming, null if it has bothsubGroups-leafGroups-totalNodes-- Returns:
-