|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.caching.TimeStampCacheValidity
public final class TimeStampCacheValidity
A validation object for time-stamps. This is might be the most used CacheValidity object.
Constructor Summary | |
---|---|
TimeStampCacheValidity(long timeStamp)
Deprecated. |
Method Summary | |
---|---|
long |
getTimeStamp()
Deprecated. |
boolean |
isValid(CacheValidity validity)
Deprecated. Check if the component is still valid. |
String |
toString()
Deprecated. Creates text represenation of the validity object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TimeStampCacheValidity(long timeStamp)
Method Detail |
---|
public boolean isValid(CacheValidity validity)
CacheValidity
isValid
in interface CacheValidity
public long getTimeStamp()
public String toString()
CacheValidity
Due to changes in source API, this method is no longer needed, starting with Cocoon 2.1.
toString
in interface CacheValidity
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |