|
||||||||||
| 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)
CacheRegionnull if the object not
in the cache
get in interface CacheRegionid - identificer of the object
CacheRegion.get(java.lang.Object)public java.lang.Object getId()
CacheRegion
getId in interface CacheRegionCacheRegion.getId()public void put(net.sf.jportlet.service.cache.Cacheable obj)
CacheRegion
put in interface CacheRegionobj - CacheRegion.put(net.sf.jportlet.service.cache.Cacheable)public void removeExpiredObject()
CacheRegionThread
removeExpiredObject in interface CacheRegionCacheRegion.removeExpiredObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||