|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.jportlet.service.cache.CacheRegionImpl
Implementation of CacheRegion
Constructor Summary | |
CacheRegionImpl(java.lang.Object id)
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CacheRegionImpl(java.lang.Object id)
Method Detail |
public net.sf.jportlet.service.cache.Cacheable get(java.lang.Object id)
CacheRegion
null
if the object not
in the cache
get
in interface CacheRegion
id
- identificer of the object
CacheRegion.get(java.lang.Object)
public java.lang.Object getId()
CacheRegion
getId
in interface CacheRegion
CacheRegion.getId()
public void put(net.sf.jportlet.service.cache.Cacheable obj)
CacheRegion
put
in interface CacheRegion
obj
- CacheRegion.put(net.sf.jportlet.service.cache.Cacheable)
public void removeExpiredObject()
CacheRegion
Thread
removeExpiredObject
in interface CacheRegion
CacheRegion.removeExpiredObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |