| org.apache.cocoon.caching.CacheValidity
All known Subclasses: org.apache.cocoon.caching.AggregatedCacheValidity, org.apache.cocoon.caching.TimeStampCacheValidity, org.apache.cocoon.caching.SourceCacheValidity, org.apache.cocoon.caching.ParametersCacheValidity, org.apache.cocoon.caching.IncludeCacheValidity, org.apache.cocoon.caching.CompositeCacheValidity, org.apache.cocoon.caching.NOPCacheValidity, org.apache.cocoon.caching.DeltaTimeCacheValidity,
CacheValidity | public interface CacheValidity extends Serializable(Code) | | A CacheValidity object contains all information for one pipeline component
to check if it is still valid.
For example, the FileGenerator stores only the timestamp for the read
xml file in this container.
Although this interface is deprecated it is still used for compatibility!
author: Carsten Ziegeler version: CVS $Id: CacheValidity.java 433543 2006-08-22 06:22:54Z crossley $ |
isValid | boolean isValid(CacheValidity validity)(Code) | | Check if the component is still valid.
This is only true, if the incoming CacheValidity is of the same
type and has the same values.
|
toString | String toString()(Code) | | Creates text represenation of the validity object.
This is used to create fake 'lastModificationDate' for cocoon: sources.
Due to changes in source API, this method is no longer needed,
starting with Cocoon 2.1.
|
|
|