|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the api for a cache that caches IBasicEntities
of a single type.
Method Summary | |
void |
add(IBasicEntity entity)
|
void |
cleanupCache()
Purge stale entries from the cache. |
void |
clearCache()
Remove all entries from the cache. |
IBasicEntity |
get(java.lang.String key)
|
java.lang.Class |
getEntityType()
|
void |
remove(java.lang.String entityKey)
|
int |
size()
Answers the number of entries in the cache. |
void |
update(IBasicEntity entity)
|
Method Detail |
public void add(IBasicEntity entity) throws CachingException
entity
- - the entity to be cached.
CachingException
public void cleanupCache() throws CachingException
CachingException
public void clearCache() throws CachingException
CachingException
public IBasicEntity get(java.lang.String key)
key
- the key of the entity.
public java.lang.Class getEntityType()
for known types.
public void remove(java.lang.String entityKey) throws CachingException
entityKey
- - the key of the entity to be un-cached.
CachingException
public int size()
public void update(IBasicEntity entity) throws CachingException
entity
- - the entity to be updated in the cache.
CachingException
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |