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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionReferenceCachedValue(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, getLock, isExpired, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.redisson.cache.CachedValue
getKey, getLockMethods 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:
getValuein interfaceCachedValue<K,V> - Overrides:
getValuein classStdCachedValue<K,V>
-