Class StrongRefCache

  • All Implemented Interfaces:
    Map<Object,​DNStateManager>, Level1Cache

    public class StrongRefCache
    extends Object
    implements Level1Cache
    Implementation of a Level 1 cache keeping strong references to the objects. This means that objects are not garbage collected, and have to be removed directly by calls to remove(). This differs from the WeakRefCache/SoftRefCache which do not guarantee to retain objects.