Record Class FindmaxFrameParams
java.lang.Object
java.lang.Record
io.nosqlbench.scenarios.simframe.optimizers.planners.findmax.FindmaxFrameParams
-
Constructor Summary
ConstructorsConstructorDescriptionFindmaxFrameParams(double rate_shelf, double rate_delta, long sample_time_ms, long settling_time_ms, String description) Creates an instance of aFindmaxFrameParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of therate_deltarecord component.doubleReturns the value of therate_shelfrecord component.longReturns the value of thesample_time_msrecord component.longReturns the value of thesettling_time_msrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FindmaxFrameParams
public FindmaxFrameParams(double rate_shelf, double rate_delta, long sample_time_ms, long settling_time_ms, String description) Creates an instance of aFindmaxFrameParamsrecord class.- Parameters:
rate_shelf- the value for therate_shelfrecord componentrate_delta- the value for therate_deltarecord componentsample_time_ms- the value for thesample_time_msrecord componentsettling_time_ms- the value for thesettling_time_msrecord componentdescription- the value for thedescriptionrecord component
-
-
Method Details
-
computed_rate
public double computed_rate() -
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. -
rate_shelf
public double rate_shelf()Returns the value of therate_shelfrecord component.- Returns:
- the value of the
rate_shelfrecord component
-
rate_delta
public double rate_delta()Returns the value of therate_deltarecord component.- Returns:
- the value of the
rate_deltarecord 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
-
settling_time_ms
public long settling_time_ms()Returns the value of thesettling_time_msrecord component.- Returns:
- the value of the
settling_time_msrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-