Package com.yahoo.vespa.model.content
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 Summary
ConstructorsConstructorDescriptionClusterControllerTuning(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 aClusterControllerTuningrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinitProgressTimerecord component.Returns the value of themaxGroupsAllowedDownrecord component.Returns the value of themaxPrematureCrashesrecord component.Returns the value of theminDistributorUpRatiorecord component.Returns the value of theminNodeRatioPerGrouprecord component.Returns the value of theminSplitBitsrecord component.Returns the value of theminStorageUpRatiorecord component.Returns the value of thestableStateTimePeriodrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransitionTimerecord component.
-
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 aClusterControllerTuningrecord class.- Parameters:
initProgressTime- the value for theinitProgressTimerecord componenttransitionTime- the value for thetransitionTimerecord componentmaxPrematureCrashes- the value for themaxPrematureCrashesrecord componentstableStateTimePeriod- the value for thestableStateTimePeriodrecord componentminDistributorUpRatio- the value for theminDistributorUpRatiorecord componentminStorageUpRatio- the value for theminStorageUpRatiorecord componentmaxGroupsAllowedDown- the value for themaxGroupsAllowedDownrecord componentminNodeRatioPerGroup- the value for theminNodeRatioPerGrouprecord componentminSplitBits- the value for theminSplitBitsrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
initProgressTime
Returns the value of theinitProgressTimerecord component.- Returns:
- the value of the
initProgressTimerecord component
-
transitionTime
Returns the value of thetransitionTimerecord component.- Returns:
- the value of the
transitionTimerecord component
-
maxPrematureCrashes
Returns the value of themaxPrematureCrashesrecord component.- Returns:
- the value of the
maxPrematureCrashesrecord component
-
stableStateTimePeriod
Returns the value of thestableStateTimePeriodrecord component.- Returns:
- the value of the
stableStateTimePeriodrecord component
-
minDistributorUpRatio
Returns the value of theminDistributorUpRatiorecord component.- Returns:
- the value of the
minDistributorUpRatiorecord component
-
minStorageUpRatio
Returns the value of theminStorageUpRatiorecord component.- Returns:
- the value of the
minStorageUpRatiorecord component
-
maxGroupsAllowedDown
Returns the value of themaxGroupsAllowedDownrecord component.- Returns:
- the value of the
maxGroupsAllowedDownrecord component
-
minNodeRatioPerGroup
Returns the value of theminNodeRatioPerGrouprecord component.- Returns:
- the value of the
minNodeRatioPerGrouprecord component
-
minSplitBits
Returns the value of theminSplitBitsrecord component.- Returns:
- the value of the
minSplitBitsrecord component
-