Record Class FindmaxConfig
java.lang.Object
java.lang.Record
io.nosqlbench.scenarios.simframe.optimizers.planners.findmax.FindmaxConfig
public record FindmaxConfig(int sample_time_ms, int sample_max, double sample_incr, double rate_base, double rate_step, double rate_incr, int average_of, long min_settling_ms)
extends Record
These search parameters are based on the original findmax algorithm, and
should be reduced down to the minimum set needed.
-
Constructor Summary
ConstructorsConstructorDescriptionFindmaxConfig(int sample_time_ms, int sample_max, double sample_incr, double rate_base, double rate_step, double rate_incr, int average_of, long min_settling_ms) Creates an instance of aFindmaxConfigrecord class.FindmaxConfig(NBCommandParams params) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theaverage_ofrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of themin_settling_msrecord component.doubleReturns the value of therate_baserecord component.doubleReturns the value of therate_incrrecord component.doubleReturns the value of therate_steprecord component.doubleReturns the value of thesample_incrrecord component.intReturns the value of thesample_maxrecord component.intReturns the value of thesample_time_msrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FindmaxConfig
-
FindmaxConfig
public FindmaxConfig(int sample_time_ms, int sample_max, double sample_incr, double rate_base, double rate_step, double rate_incr, int average_of, long min_settling_ms) Creates an instance of aFindmaxConfigrecord class.- Parameters:
sample_time_ms- the value for thesample_time_msrecord componentsample_max- the value for thesample_maxrecord componentsample_incr- the value for thesample_incrrecord componentrate_base- the value for therate_baserecord componentrate_step- the value for therate_steprecord componentrate_incr- the value for therate_incrrecord componentaverage_of- the value for theaverage_ofrecord componentmin_settling_ms- the value for themin_settling_msrecord 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. -
sample_time_ms
public int sample_time_ms()Returns the value of thesample_time_msrecord component.- Returns:
- the value of the
sample_time_msrecord component
-
sample_max
public int sample_max()Returns the value of thesample_maxrecord component.- Returns:
- the value of the
sample_maxrecord component
-
sample_incr
public double sample_incr()Returns the value of thesample_incrrecord component.- Returns:
- the value of the
sample_incrrecord component
-
rate_base
public double rate_base()Returns the value of therate_baserecord component.- Returns:
- the value of the
rate_baserecord component
-
rate_step
public double rate_step()Returns the value of therate_steprecord component.- Returns:
- the value of the
rate_steprecord component
-
rate_incr
public double rate_incr()Returns the value of therate_incrrecord component.- Returns:
- the value of the
rate_incrrecord component
-
average_of
public int average_of()Returns the value of theaverage_ofrecord component.- Returns:
- the value of the
average_ofrecord component
-
min_settling_ms
public long min_settling_ms()Returns the value of themin_settling_msrecord component.- Returns:
- the value of the
min_settling_msrecord component
-