Package org.redisson.cache
Class CachedValueWeakReference<V>
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.WeakReference<V>
-
- org.redisson.cache.CachedValueWeakReference<V>
-
- Type Parameters:
V
- value type
- All Implemented Interfaces:
CachedValueReference
public class CachedValueWeakReference<V> extends WeakReference<V> implements CachedValueReference
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description CachedValueWeakReference(CachedValue<?,?> owner, V referent, ReferenceQueue<? super V> q)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachedValue<?,?>
getOwner()
-
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence
-
-
-
-
Constructor Detail
-
CachedValueWeakReference
public CachedValueWeakReference(CachedValue<?,?> owner, V referent, ReferenceQueue<? super V> q)
-
-
Method Detail
-
getOwner
public CachedValue<?,?> getOwner()
- Specified by:
getOwner
in interfaceCachedValueReference
-
-