Record Class OptimoSearchSettings
java.lang.Object
java.lang.Record
io.nosqlbench.scenarios.simframe.optimizers.optimo.OptimoSearchSettings
public record OptimoSearchSettings(double startRate, long sample_time_ms, double cutoff_quantile, double cutoff_ms, double start_threads, OptimoParamModel model)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionOptimoSearchSettings(double startRate, long sample_time_ms, double cutoff_quantile, double cutoff_ms, double start_threads, OptimoParamModel model) Creates an instance of aOptimoSearchSettingsrecord class.OptimoSearchSettings(NBCommandParams params, OptimoParamModel model) -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of thecutoff_msrecord component.doubleReturns the value of thecutoff_quantilerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.longReturns the value of thesample_time_msrecord component.doubleReturns the value of thestart_threadsrecord component.doubleReturns the value of thestartRaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OptimoSearchSettings
-
OptimoSearchSettings
public OptimoSearchSettings(double startRate, long sample_time_ms, double cutoff_quantile, double cutoff_ms, double start_threads, OptimoParamModel model) Creates an instance of aOptimoSearchSettingsrecord class.- Parameters:
startRate- the value for thestartRaterecord componentsample_time_ms- the value for thesample_time_msrecord componentcutoff_quantile- the value for thecutoff_quantilerecord componentcutoff_ms- the value for thecutoff_msrecord componentstart_threads- the value for thestart_threadsrecord componentmodel- the value for themodelrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
startRate
public double startRate()Returns the value of thestartRaterecord component.- Returns:
- the value of the
startRaterecord component
-
sample_time_ms
public long sample_time_ms()Returns the value of thesample_time_msrecord component.- Returns:
- the value of the
sample_time_msrecord component
-
cutoff_quantile
public double cutoff_quantile()Returns the value of thecutoff_quantilerecord component.- Returns:
- the value of the
cutoff_quantilerecord component
-
cutoff_ms
public double cutoff_ms()Returns the value of thecutoff_msrecord component.- Returns:
- the value of the
cutoff_msrecord component
-
start_threads
public double start_threads()Returns the value of thestart_threadsrecord component.- Returns:
- the value of the
start_threadsrecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-