public class HardSmartCache<K,V> extends SmartCacheImpl<K,V>
SmartCache that uses hard
references. Used for testing.SmartCache.SmartCacheTask<K,V>| Constructor and Description |
|---|
HardSmartCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearImpl() |
V |
getImpl(K key) |
Iterator<Map.Entry<K,V>> |
iteratorImpl()
Must provide an iterator on the contents of the cache.
|
V |
putImpl(K key,
V value) |
V |
removeImpl(K key) |
int |
sizeImpl() |
public V removeImpl(K key)
removeImpl in class SmartCacheImpl<K,V>public void clearImpl()
clearImpl in class SmartCacheImpl<K,V>public int sizeImpl()
sizeImpl in class SmartCacheImpl<K,V>public Iterator<Map.Entry<K,V>> iteratorImpl()
SmartCacheImplSmartCacheImpl.iteratorImpl in class SmartCacheImpl<K,V>Copyright © 2021 Hitachi Vantara. All rights reserved.