public class ReferenceCachedValue<K,V> extends StdCachedValue<K,V> implements CachedValue<K,V>
| Modifier and Type | Class and Description |
|---|---|
static class |
ReferenceCachedValue.Type |
key, value| Constructor and Description |
|---|
ReferenceCachedValue(K key,
V value,
long ttl,
long maxIdleTime,
ReferenceQueue<V> queue,
ReferenceCachedValue.Type type) |
| Modifier and Type | Method and Description |
|---|---|
V |
getValue() |
getKey, isExpired, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetKeyisExpiredpublic ReferenceCachedValue(K key, V value, long ttl, long maxIdleTime, ReferenceQueue<V> queue, ReferenceCachedValue.Type type)
public V getValue()
getValue in interface CachedValue<K,V>getValue in class StdCachedValue<K,V>Copyright © 2014–2018 The Redisson Project. All rights reserved.