Package mondrian.rolap.cache
Class HardSmartCache<K,V>
- java.lang.Object
 - 
- mondrian.rolap.cache.SmartCacheImpl<K,V>
 - 
- mondrian.rolap.cache.HardSmartCache<K,V>
 
 
 
- 
- All Implemented Interfaces:
 SmartCache<K,V>
public class HardSmartCache<K,V> extends SmartCacheImpl<K,V>
An implementation ofSmartCachethat uses hard references. Used for testing. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface mondrian.rolap.cache.SmartCache
SmartCache.SmartCacheTask<K,V> 
 - 
 
- 
Constructor Summary
Constructors Constructor Description HardSmartCache() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearImpl()VgetImpl(K key)Iterator<Map.Entry<K,V>>iteratorImpl()Must provide an iterator on the contents of the cache.VputImpl(K key, V value)VremoveImpl(K key)intsizeImpl() 
 - 
 
- 
- 
Method Detail
- 
removeImpl
public V removeImpl(K key)
- Specified by:
 removeImplin classSmartCacheImpl<K,V>
 
- 
clearImpl
public void clearImpl()
- Specified by:
 clearImplin classSmartCacheImpl<K,V>
 
- 
sizeImpl
public int sizeImpl()
- Specified by:
 sizeImplin classSmartCacheImpl<K,V>
 
- 
iteratorImpl
public Iterator<Map.Entry<K,V>> iteratorImpl()
Description copied from class:SmartCacheImplMust provide an iterator on the contents of the cache. It does not need to be thread safe because we will handle that inSmartCacheImpl.- Specified by:
 iteratorImplin classSmartCacheImpl<K,V>
 
 - 
 
 -