CachedValue<K,V>
, ExpirableValue
public class ReferenceCachedValue<K,V> extends StdCachedValue<K,V> implements CachedValue<K,V>
Modifier and Type | Class | Description |
---|---|---|
static class |
ReferenceCachedValue.Type |
key, value
Constructor | Description |
---|---|
ReferenceCachedValue(K key,
V value,
long ttl,
long maxIdleTime,
ReferenceQueue<V> queue,
ReferenceCachedValue.Type type) |
Modifier and Type | Method | Description |
---|---|---|
V |
getValue() |
getKey
isExpired
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getKey, isExpired, toString
public 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.