Class WeakCacheReference<K,V>
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.WeakReference<V>
-
- org.symphonyoss.s2.canon.runtime.cache.WeakCacheReference<K,V>
-
public class WeakCacheReference<K,V> extends WeakReference<V>
-
-
Constructor Summary
Constructors Constructor Description WeakCacheReference(K key, V value, ReferenceQueue<V> queue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KgetKey()-
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence
-
-
-
-
Constructor Detail
-
WeakCacheReference
public WeakCacheReference(K key, V value, ReferenceQueue<V> queue)
-
-
Method Detail
-
getKey
public K getKey()
-
-