|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.cocoon.caching.CachedEventObject
This is an cached object as it is stored in the EventCache
Constructor Summary | |
CachedEventObject(java.util.Map validityObjects,
java.lang.Object saxFragment)
Create a new entry for the cache. |
Method Summary | |
CacheValidity |
getCacheValidity(ComponentCacheKey componentKey)
Get the validity object |
java.lang.Object |
getSAXFragment()
Get the cached sax stream. |
boolean |
isValid(ComponentCacheKey componentKey,
CacheValidity componentValidity)
Checks if the CacheValidity object is still valid. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CachedEventObject(java.util.Map validityObjects, java.lang.Object saxFragment)
validityObjects
- The CacheValidity objects hashed by their
ComponentCacheKey
saxFragment
- The cached sax streamMethod Detail |
public boolean isValid(ComponentCacheKey componentKey, CacheValidity componentValidity)
public CacheValidity getCacheValidity(ComponentCacheKey componentKey)
CacheValidity
object or null
.public java.lang.Object getSAXFragment()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |