Class WeakIdentityConcurrentMap.IdentityWeakReference<T>

java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<T>
org.ehcache.sizeof.util.WeakIdentityConcurrentMap.IdentityWeakReference<T>
Type Parameters:
T -
Enclosing class:
WeakIdentityConcurrentMap<K,V>

private static final class WeakIdentityConcurrentMap.IdentityWeakReference<T> extends WeakReference<T>
  • Field Details

    • hashCode

      private final int hashCode
  • Constructor Details

    • IdentityWeakReference

      IdentityWeakReference(T reference)
      Parameters:
      reference - the referenced object
    • IdentityWeakReference

      IdentityWeakReference(T reference, ReferenceQueue<T> referenceQueue)
      Parameters:
      reference - the references object
      referenceQueue - the reference queue where references are kept
  • Method Details