|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This service provides caching facilities for objects within the Jetspeed application
This interface is designed for backward compability with the previous memory cache interfaces. It may be deprecated once the caching API is refactored
Field Summary | |
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
void |
addCacheable(Cacheable item)
Add a Cacheable object to the cache. |
Cacheable |
getCacheable(java.lang.String handle)
Retrieves a Cacheable object from the cache. |
void |
removeCacheable(java.lang.String handle)
Removes a Cacheable object from the cache based on its handle |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public void addCacheable(Cacheable item)
item
- the object to store in the Cachepublic void removeCacheable(java.lang.String handle)
handle
- the identifier of the object to removepublic Cacheable getCacheable(java.lang.String handle)
handle
- the identifier of the object we wish to retrieve
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |