Class CHMCache

  • All Implemented Interfaces:
    NodeCache

    public class CHMCache
    extends Object
    implements NodeCache
    A simplistic cache using a ConcurrentHashMap. There's no eviction policy, it just fills up until reaching the specified capacity (or close enough at least, bounds check is not atomic :)