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