Record Class RCurveConfig
java.lang.Object
java.lang.Record
io.nosqlbench.scenarios.simframe.optimizers.planners.rcurve.RCurveConfig
These search parameters are based on the original findmax algorithm, and
should be reduced down to the minimum set needed.
-
Constructor Summary
ConstructorsConstructorDescriptionRCurveConfig(double max_rate, int max_step, double min_sample_seconds) Creates an instance of aRCurveConfigrecord class.RCurveConfig(NBCommandParams params) -
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.doublemax_rate()Returns the value of themax_raterecord component.intmax_step()Returns the value of themax_steprecord component.doubleReturns the value of themin_sample_secondsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RCurveConfig
-
RCurveConfig
public RCurveConfig(double max_rate, int max_step, double min_sample_seconds) Creates an instance of aRCurveConfigrecord class.- Parameters:
max_rate- the value for themax_raterecord componentmax_step- the value for themax_steprecord componentmin_sample_seconds- the value for themin_sample_secondsrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 with thecomparemethod from their corresponding wrapper classes. -
max_rate
public double max_rate()Returns the value of themax_raterecord component.- Returns:
- the value of the
max_raterecord component
-
max_step
public int max_step()Returns the value of themax_steprecord component.- Returns:
- the value of the
max_steprecord component
-
min_sample_seconds
public double min_sample_seconds()Returns the value of themin_sample_secondsrecord component.- Returns:
- the value of the
min_sample_secondsrecord component
-