|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheProvider
Method Summary | |
---|---|
void |
add(CacheKey key,
java.lang.Object value)
Add object to cache |
void |
clear()
Clear cache |
java.lang.Object |
get(CacheKey key)
Get cache object by key |
void |
invalidateCache()
Check all cache entries and remove expired ones |
void |
remove(CacheKey key)
Remove object from cache by key |
int |
size()
Get number of entities in cache |
Method Detail |
---|
void add(CacheKey key, java.lang.Object value)
key
- cache keyvalue
- objectjava.lang.Object get(CacheKey key)
key
- cache key
void remove(CacheKey key)
key
- cache keyvoid invalidateCache()
int size()
void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |