Class LoadString
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.stateful.from_long.LoadString
- All Implemented Interfaces:
LongFunction<String>
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 Summary
ConstructorsConstructorDescriptionLoadString(String name) LoadString(String name, String defaultValue) LoadString(LongFunction<Object> nameFunc) LoadString(LongFunction<Object> nameFunc, String defaultValue) -
Method Summary
-
Constructor Details
-
LoadString
-
LoadString
-
LoadString
-
LoadString
-
-
Method Details
-
apply
- Specified by:
applyin interfaceLongFunction<String>
-