Class LruMap<A,​B>

    • Constructor Detail

      • LruMap

        public LruMap​(int maxSize)
      • LruMap

        public LruMap​(int maxSize,
                      LruMap.CacheEvictionCallback evictionCallback)
        Creates an LRU map that will call back before data is removed from the map.
        Parameters:
        maxSize - max capacity for the map
        evictionCallback - callback to be called before removing data