Class LoadDouble

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.stateful.from_long.LoadDouble
All Implemented Interfaces:
LongToDoubleFunction

public class LoadDouble extends Object implements LongToDoubleFunction
Load a value from a named thread-local variable, where the variable name is fixed or a generated variable name from a provided function. If the named variable is not defined, then the default value is returned.
  • Constructor Details

    • LoadDouble

      public LoadDouble(String name)
    • LoadDouble

      public LoadDouble(String name, double defaultValue)
    • LoadDouble

      public LoadDouble(LongFunction<Object> nameFunc)
    • LoadDouble

      public LoadDouble(LongFunction<Object> nameFunc, double defaultValue)
  • Method Details