|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DtoCache<K,V>
This is an abstract cache used for caching DTOs. A DTO can be cached by its primary key or by a query key. The value can be a single DTO or an array/list of DTOs.
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. |
Method Detail |
---|
V get(K key)
void put(K key, V value)
void remove(K key)
void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |