Class Resolver.Cache

All Implemented Interfaces:
Serializable, Cloneable, Map<Object,List<M>>, SequencedMap<Object,List<M>>, Cache<List<M>>
Enclosing class:
Resolver<M extends Match>

private class Resolver.Cache extends LimitedCache<List<M>>
This is used to cache resolutions made so that the matches can be acquired the next time without performing the resolution. This is an LRU cache so regardless of the number of resolutions made this will not result in a memory leak for the resolver.
  • Constructor Details

    • Cache

      public Cache()
      Constructor for the Cache object. This is a constructor that creates the linked hash map such that it will purge the entries that are oldest within the map.