mondrian.rolap.cache
public class HardSmartCache<K,V> extends Object implements SmartCache<K,V>
SmartCache
that uses hard
references. Used for testing.Constructor and Description |
---|
HardSmartCache() |
public V put(K key, V value)
SmartCache
put
in interface SmartCache<K,V>
key
- Keyvalue
- Valuekey
or nullpublic V remove(K key)
SmartCache
remove
in interface SmartCache<K,V>
key
- Keypublic void clear()
clear
in interface SmartCache<K,V>
public int size()
size
in interface SmartCache<K,V>