Class ConcurrentIndexCacheWrapper

java.lang.Object
io.nosqlbench.adapters.api.activityimpl.uniform.ConcurrentIndexCacheWrapper

public class ConcurrentIndexCacheWrapper extends Object
This is only here for backwards compatibility. If you get a warning that this class is being used, you can probably ignore it for low cardinality of spaces. However, if you want to optimize your client to hold spaces more densely (avoiding the egregious heap overhead of hashing), then modify your space binding to produce a long or int value. In that case, this wrapper type will not be used, and the memory overhead will be minimal.
  • Constructor Details

    • ConcurrentIndexCacheWrapper

      public ConcurrentIndexCacheWrapper()
  • Method Details

    • mapKeyToIndex

      public int mapKeyToIndex(Object key)