Package org.redisson.cache
Class ReferenceCachedValue<K,V>
java.lang.Object
org.redisson.cache.StdCachedValue<K,V>
org.redisson.cache.ReferenceCachedValue<K,V>
- All Implemented Interfaces:
CachedValue<K,
,V> ExpirableValue
Created by jribble on 2/20/17.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionReferenceCachedValue
(K key, V value, long ttl, long maxIdleTime, ReferenceQueue<V> queue, ReferenceCachedValue.Type type) -
Method Summary
Methods inherited from class org.redisson.cache.StdCachedValue
getKey, isExpired, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.redisson.cache.CachedValue
getKey
Methods inherited from interface org.redisson.cache.ExpirableValue
isExpired
-
Constructor Details
-
ReferenceCachedValue
public ReferenceCachedValue(K key, V value, long ttl, long maxIdleTime, ReferenceQueue<V> queue, ReferenceCachedValue.Type type)
-
-
Method Details
-
getValue
- Specified by:
getValue
in interfaceCachedValue<K,
V> - Overrides:
getValue
in classStdCachedValue<K,
V>
-