|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.spoledge.audao.db.dao.ChainedDtoCache<K,V>
public class ChainedDtoCache<K,V>
Chains caches.
Constructor Summary | |
---|---|
ChainedDtoCache(DtoCache<K,V> level1,
DtoCache<K,V> level2)
|
Method Summary | |
---|---|
void |
clear()
Clears the cache. |
V |
get(K key)
Returns the associated object or null. |
void |
put(K key,
V value)
Puts the key/value pair into the cache. |
void |
remove(K key)
Removes the associated object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChainedDtoCache(DtoCache<K,V> level1, DtoCache<K,V> level2)
Method Detail |
---|
public V get(K key)
get
in interface DtoCache<K,V>
public void put(K key, V value)
put
in interface DtoCache<K,V>
public void remove(K key)
remove
in interface DtoCache<K,V>
public void clear()
clear
in interface DtoCache<K,V>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |