Class RedundancyBuilder

java.lang.Object
com.yahoo.vespa.model.content.cluster.RedundancyBuilder

public class RedundancyBuilder extends Object
Builds redundancy config for a content cluster.
Author:
bratseth
  • Constructor Details

    • RedundancyBuilder

      public RedundancyBuilder(ModelElement clusterXml)
  • 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 both
      subGroups -
      leafGroups -
      totalNodes -
      Returns: