org.apache.cocoon.caching
Class DeltaTimeCacheValidity
java.lang.Object
|
+--org.apache.cocoon.caching.DeltaTimeCacheValidity
- All Implemented Interfaces:
- CacheValidity, java.io.Serializable
- public final class DeltaTimeCacheValidity
- extends java.lang.Object
- implements CacheValidity
A validation object that remains valid for a specified amount of time (minutes).
- Author:
- Michael Homeijer
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DeltaTimeCacheValidity
public DeltaTimeCacheValidity(long timeInCache)
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
getCachedDateTime
public long getCachedDateTime()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.