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 Details

    • OptimoSearchSettings

      public OptimoSearchSettings(NBCommandParams params, OptimoParamModel model)
    • OptimoSearchSettings

      public OptimoSearchSettings(double startRate, long sample_time_ms, double cutoff_quantile, double cutoff_ms, double start_threads, OptimoParamModel model)
      Creates an instance of a OptimoSearchSettings record class.
      Parameters:
      startRate - the value for the startRate record component
      sample_time_ms - the value for the sample_time_ms record component
      cutoff_quantile - the value for the cutoff_quantile record component
      cutoff_ms - the value for the cutoff_ms record component
      start_threads - the value for the start_threads record component
      model - the value for the model record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • startRate

      public double startRate()
      Returns the value of the startRate record component.
      Returns:
      the value of the startRate record component
    • sample_time_ms

      public long sample_time_ms()
      Returns the value of the sample_time_ms record component.
      Returns:
      the value of the sample_time_ms record component
    • cutoff_quantile

      public double cutoff_quantile()
      Returns the value of the cutoff_quantile record component.
      Returns:
      the value of the cutoff_quantile record component
    • cutoff_ms

      public double cutoff_ms()
      Returns the value of the cutoff_ms record component.
      Returns:
      the value of the cutoff_ms record component
    • start_threads

      public double start_threads()
      Returns the value of the start_threads record component.
      Returns:
      the value of the start_threads record component
    • model

      public OptimoParamModel model()
      Returns the value of the model record component.
      Returns:
      the value of the model record component