| org.apache.cocoon.caching.Cache
All known Subclasses: org.apache.cocoon.caching.impl.CacheImpl,
Cache | public interface Cache extends Component(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 to investigate which responses are cached etc.
This interface will grow!
since: 2.1 author: Carsten Ziegeler version: CVS $Id: Cache.java 433543 2006-08-22 06:22:54Z crossley $ |
clear | void clear()(Code) | | clear cache of all cached responses
|
containsKey | boolean containsKey(Serializable key)(Code) | | See if a response is cached under this key.
|
get | 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 |
remove | 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 |
|
|