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

    Constructors 
    Constructor Description
    Clear()
    Clear all named entries from the per-thread map.
    Clear​(java.lang.String... names)
    Clear the specified names from the per-thread map.
  • Method Summary

    Modifier and Type Method Description
    long applyAsLong​(long operand)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      applyAsLong in interface java.util.function.LongUnaryOperator