Package org.h2.util

Class SoftValuesHashMap.SoftValue<T>

  • Enclosing class:
    SoftValuesHashMap<K,​V>

    private static class SoftValuesHashMap.SoftValue<T>
    extends java.lang.ref.SoftReference<T>
    A soft reference that has a hard reference to the key.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Object key  
    • Constructor Summary

      Constructors 
      Constructor Description
      SoftValue​(T ref, java.lang.ref.ReferenceQueue<T> q, java.lang.Object key)  
    • 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 java.lang.Object key
    • Constructor Detail

      • SoftValue

        public SoftValue​(T ref,
                         java.lang.ref.ReferenceQueue<T> q,
                         java.lang.Object key)