Class Clear
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.stateful.Clear
- All Implemented Interfaces:
java.util.function.Function<java.lang.Object,java.lang.Object>
public class Clear
extends java.lang.Object
implements java.util.function.Function<java.lang.Object,java.lang.Object>
Clears the per-thread map which is used by the Expr function.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description java.lang.Objectapply(java.lang.Object 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.Function
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
-
apply
public java.lang.Object apply(java.lang.Object operand)- Specified by:
applyin interfacejava.util.function.Function<java.lang.Object,java.lang.Object>
-