public class StdCachedValue<K,V> extends Object implements CachedValue<K,V>
Constructor and Description |
---|
StdCachedValue(K key,
V value,
long ttl,
long maxIdleTime) |
public boolean isExpired()
isExpired
in interface ExpirableValue
public K getKey()
getKey
in interface CachedValue<K,V>
public V getValue()
getValue
in interface CachedValue<K,V>
Copyright © 2014–2018 The Redisson Project. All rights reserved.