Record Class ClusterControllerConfig.ClusterControllerTuning

java.lang.Object
java.lang.Record
com.yahoo.vespa.model.content.ClusterControllerConfig.ClusterControllerTuning
Enclosing class:
ClusterControllerConfig

public static record ClusterControllerConfig.ClusterControllerTuning(Optional<Duration> initProgressTime, Optional<Duration> transitionTime, Optional<Long> maxPrematureCrashes, Optional<Duration> stableStateTimePeriod, Optional<Double> minDistributorUpRatio, Optional<Double> minStorageUpRatio, Optional<Integer> maxGroupsAllowedDown, Optional<Double> minNodeRatioPerGroup, Optional<Integer> minSplitBits) extends Record
  • Constructor Details

    • ClusterControllerTuning

      public ClusterControllerTuning(Optional<Duration> initProgressTime, Optional<Duration> transitionTime, Optional<Long> maxPrematureCrashes, Optional<Duration> stableStateTimePeriod, Optional<Double> minDistributorUpRatio, Optional<Double> minStorageUpRatio, Optional<Integer> maxGroupsAllowedDown, Optional<Double> minNodeRatioPerGroup, Optional<Integer> minSplitBits)
      Creates an instance of a ClusterControllerTuning record class.
      Parameters:
      initProgressTime - the value for the initProgressTime record component
      transitionTime - the value for the transitionTime record component
      maxPrematureCrashes - the value for the maxPrematureCrashes record component
      stableStateTimePeriod - the value for the stableStateTimePeriod record component
      minDistributorUpRatio - the value for the minDistributorUpRatio record component
      minStorageUpRatio - the value for the minStorageUpRatio record component
      maxGroupsAllowedDown - the value for the maxGroupsAllowedDown record component
      minNodeRatioPerGroup - the value for the minNodeRatioPerGroup record component
      minSplitBits - the value for the minSplitBits record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • initProgressTime

      public Optional<Duration> initProgressTime()
      Returns the value of the initProgressTime record component.
      Returns:
      the value of the initProgressTime record component
    • transitionTime

      public Optional<Duration> transitionTime()
      Returns the value of the transitionTime record component.
      Returns:
      the value of the transitionTime record component
    • maxPrematureCrashes

      public Optional<Long> maxPrematureCrashes()
      Returns the value of the maxPrematureCrashes record component.
      Returns:
      the value of the maxPrematureCrashes record component
    • stableStateTimePeriod

      public Optional<Duration> stableStateTimePeriod()
      Returns the value of the stableStateTimePeriod record component.
      Returns:
      the value of the stableStateTimePeriod record component
    • minDistributorUpRatio

      public Optional<Double> minDistributorUpRatio()
      Returns the value of the minDistributorUpRatio record component.
      Returns:
      the value of the minDistributorUpRatio record component
    • minStorageUpRatio

      public Optional<Double> minStorageUpRatio()
      Returns the value of the minStorageUpRatio record component.
      Returns:
      the value of the minStorageUpRatio record component
    • maxGroupsAllowedDown

      public Optional<Integer> maxGroupsAllowedDown()
      Returns the value of the maxGroupsAllowedDown record component.
      Returns:
      the value of the maxGroupsAllowedDown record component
    • minNodeRatioPerGroup

      public Optional<Double> minNodeRatioPerGroup()
      Returns the value of the minNodeRatioPerGroup record component.
      Returns:
      the value of the minNodeRatioPerGroup record component
    • minSplitBits

      public Optional<Integer> minSplitBits()
      Returns the value of the minSplitBits record component.
      Returns:
      the value of the minSplitBits record component