Class Bounds
java.lang.Object
io.nosqlbench.nb.api.testutils.Bounds
Easily step from one value to the next according to a modified
logarithmic sequence that makes it easy to pick useful testing
boundaries.
With levels per magnitude at 1, the progression goes in powers
of 10. With any higher value than 1, each magnitude is divided
into equal parts. For example, starting at 10 with 2 levels per magnitude,
you get 50, 100, 500, 1000, 5000, and so on when you ask for
the next higher bound.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Bounds
public Bounds(long startingValue, int levelsPerMagnitude)
-
-
Method Details
-
setValue
-
getValue
public long getValue() -
getNextValue
public long getNextValue() -
toString
-