|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CacheRegion
manages a set of
Cacheable
objects.
Method Summary | |
net.sf.jportlet.service.cache.Cacheable |
get(java.lang.Object id)
Return an object from the cache, or null if the object not
in the cache |
java.lang.Object |
getId()
Returns the unique identifier of the region |
void |
put(net.sf.jportlet.service.cache.Cacheable obj)
Put an object into the cache |
void |
removeExpiredObject()
Remove all the expired object from the region. |
Method Detail |
public net.sf.jportlet.service.cache.Cacheable get(java.lang.Object id)
null
if the object not
in the cache
id
- identificer of the object
public java.lang.Object getId()
public void put(net.sf.jportlet.service.cache.Cacheable obj)
obj
- public void removeExpiredObject()
Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |