org.apache.cocoon.caching
Interface CacheValidity

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
NOPCacheValidity, IncludeCacheValidity, CompositeCacheValidity, TimeStampCacheValidity, ParametersCacheValidity, DeltaTimeCacheValidity, AggregatedCacheValidity

public interface CacheValidity
extends java.io.Serializable

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.

Version:
CVS $Id: CacheValidity.java,v 1.5 2002/02/22 07:03:49 cziegeler Exp $
Author:
Carsten Ziegeler

Method Summary
 boolean isValid(CacheValidity validity)
          Check if the component is still valid.
 

Method Detail

isValid

public boolean isValid(CacheValidity validity)
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.


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.