|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.caching.DeltaTimeCacheValidity
public final class DeltaTimeCacheValidity
A validation object that remains valid for a specified amount of time.
Constructor Summary | |
---|---|
DeltaTimeCacheValidity(long minutes)
Deprecated. Creates validity object with timeout in minutes. |
|
DeltaTimeCacheValidity(long minutes,
long seconds)
Deprecated. Creates validity object with timeout in minutes, seconds. |
|
DeltaTimeCacheValidity(long minutes,
long seconds,
long milliseconds)
Deprecated. Creates validity object with timeout in minutes, seconds and milliseconds. |
Method Summary | |
---|---|
long |
getCachedDateTime()
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 DeltaTimeCacheValidity(long minutes)
public DeltaTimeCacheValidity(long minutes, long seconds)
public DeltaTimeCacheValidity(long minutes, long seconds, long milliseconds)
Method Detail |
---|
public boolean isValid(CacheValidity validity)
CacheValidity
isValid
in interface CacheValidity
public long getCachedDateTime()
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 |