Class SoftCache.CacheReference<K,​V>

  • Enclosing class:
    SoftCache<K,​V>

    private static class SoftCache.CacheReference<K,​V>
    extends java.lang.ref.SoftReference<V>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) K key  
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheReference​(K key, V value, java.lang.ref.ReferenceQueue<? super V> queue)  
    • Method Summary

      • Methods inherited from class java.lang.ref.SoftReference

        get
      • Methods inherited from class java.lang.ref.Reference

        clear, clone, enqueue, isEnqueued, reachabilityFence
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • key

        final K key
    • Constructor Detail

      • CacheReference

        CacheReference​(K key,
                       V value,
                       java.lang.ref.ReferenceQueue<? super V> queue)