com.satline.util.cache
Class CacheMap<K,V>
java.lang.Object
com.satline.util.cache.CacheMap<K,V>
public class CacheMap<K,V>
- extends java.lang.Object
- Author:
- tomas
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheMap
public CacheMap(CacheBackend<K,V> backend,
int cacheSize)
CacheMap
public CacheMap(CacheBackend<K,V> backend)
get
public V get(K key)
throws CacheException
- Throws:
CacheException
put
public void put(K key,
V value)
throws CacheException
- Throws:
CacheException
getOrCreate
public V getOrCreate(K key)
throws CacheException
- Throws:
CacheException
remove
public void remove(K key)
throws CacheException
- Throws:
CacheException
load
public void load()
throws CacheException
- Throws:
CacheException
unload
public void unload()
throws CacheException
- Throws:
CacheException
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize in class java.lang.Object
- Throws:
java.lang.Throwable
Copyright © 2007 null. All Rights Reserved.