org.apache.cocoon.caching
Class CompositeCacheValidity
java.lang.Object
|
+--org.apache.cocoon.caching.CompositeCacheValidity
- All Implemented Interfaces:
- CacheValidity, java.io.Serializable
- public final class CompositeCacheValidity
- extends java.lang.Object
- implements CacheValidity
A validation object using a Hashmap.
- Version:
- CVS $Revision: 1.1.1.1.2.2 $ $Date: 2001/10/25 19:31:24 $
- Author:
- Davanum Srinivas
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompositeCacheValidity
public CompositeCacheValidity(CacheValidity v1,
CacheValidity v2)
isValid
public boolean isValid(CacheValidity validity)
- Description copied from interface:
CacheValidity
- 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.
- Specified by:
isValid
in interface CacheValidity
getValidity1
public CacheValidity getValidity1()
getValidity2
public CacheValidity getValidity2()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.