Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » caching » [javadoc | source]
org.apache.cocoon.caching
public interface: CacheValidity [javadoc | source]

All Implemented Interfaces:
    Serializable

All Known Implementing Classes:
    AggregatedCacheValidity, CompositeCacheValidity, ParametersCacheValidity, DeltaTimeCacheValidity, TimeStampCacheValidity, NOPCacheValidity, SourceCacheValidity, NOPCacheValidity, IncludeCacheValidity

Deprecated! Use - the Avalon Excalibur SourceValidity implementations instead

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!
Method from org.apache.cocoon.caching.CacheValidity Summary:
isValid,   toString
Method from org.apache.cocoon.caching.CacheValidity Detail:
 public boolean isValid(CacheValidity validity)       Deprecated!
    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.
 public String toString()       Deprecated!
    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.