Class Clear
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.stateful.from_long.Clear
- All Implemented Interfaces:
java.util.function.LongUnaryOperator
public class Clear
extends java.lang.Object
implements java.util.function.LongUnaryOperator
Clears the per-thread map which is used by the Expr function.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description longapplyAsLong(long operand)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.LongUnaryOperator
andThen, compose
-
Constructor Details
-
Clear
public Clear()Clear all named entries from the per-thread map. -
Clear
public Clear(java.lang.String... names)Clear the specified names from the per-thread map.- Parameters:
names- The names to be removed from the map.
-
-
Method Details
-
applyAsLong
public long applyAsLong(long operand)- Specified by:
applyAsLongin interfacejava.util.function.LongUnaryOperator
-