|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.caching.CompositeCacheValidity
public final class CompositeCacheValidity
A validation object aggregating two validity objects. This is similar to the
AggregatedCacheValidity
with the difference that the amount of
aggregated objects is limited.
Constructor Summary | |
---|---|
CompositeCacheValidity(CacheValidity v1,
CacheValidity v2)
Deprecated. Constructor |
Method Summary | |
---|---|
CacheValidity |
getValidity1()
Deprecated. |
CacheValidity |
getValidity2()
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 CompositeCacheValidity(CacheValidity v1, CacheValidity v2)
Method Detail |
---|
public boolean isValid(CacheValidity validity)
CacheValidity
isValid
in interface CacheValidity
public CacheValidity getValidity1()
public CacheValidity getValidity2()
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 |