Class SoftSmartCache<K,​V>

  • All Implemented Interfaces:
    SmartCache<K,​V>

    public class SoftSmartCache<K,​V>
    extends SmartCacheImpl<K,​V>
    An implementation of SmartCacheImpl which uses a ReferenceMap as a backing object. Both the key and the value are soft references, because of their cyclic nature.

    This class does not enforce any synchronization, because this is handled by SmartCacheImpl.

    Since:
    Nov 3, 2005
    Author:
    av, lboudreau