| org.apache.cocoon.caching.impl.CacheImpl
All known Subclasses: org.apache.cocoon.caching.impl.EventAwareCacheImpl,
CacheImpl | public class CacheImpl extends AbstractLogEnabled implements Cache,ThreadSafe,Serviceable,Disposable,Parameterizable(Code) | | This is the Cocoon cache. This component is responsible for storing
and retrieving cached responses. It can be used to monitor the cache
or the investigate which responses are cached etc.
This component will grow!
since: 2.1 author: Carsten Ziegeler version: CVS $Id: CacheImpl.java 433543 2006-08-22 06:22:54Z crossley $ |
Field Summary | |
protected ServiceManager | manager | protected Store | store |
manager | protected ServiceManager manager(Code) | | The service manager
|
store | protected Store store(Code) | | The store containing the cached responses
|
clear | public void clear()(Code) | | clear cache of all cached responses
|
containsKey | public boolean containsKey(Serializable key)(Code) | | See if a response is cached under this key
|
dispose | public void dispose()(Code) | | Disposable Interface
|
get | public CachedResponse get(Serializable key)(Code) | | Get a cached response.
If it is not available null is returned.
Parameters: key - the key used by the caching algorithm to identify therequest |
parameterize | public void parameterize(Parameters parameters) throws ParameterException(Code) | | |
remove | public void remove(Serializable key)(Code) | | Remove a cached response.
If it is not available no operation is performed.
Parameters: key - the key used by the caching algorithm to identify therequest |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | Serviceable Interface
|
|
|