org.apache.cocoon.caching
Class CachedEventObject

java.lang.Object
  extended by org.apache.cocoon.caching.CachedEventObject
All Implemented Interfaces:
Serializable

Deprecated. by the CachedResponse

public final class CachedEventObject
extends Object
implements Serializable

This is a cached object as it is stored in the EventCache

Version:
CVS $Id: CachedEventObject.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler
See Also:
Serialized Form

Constructor Summary
CachedEventObject(Map validityObjects, Object saxFragment)
          Deprecated. Create a new entry for the cache.
 
Method Summary
 CacheValidity getCacheValidity(ComponentCacheKey componentKey)
          Deprecated. Get the validity object
 Object getSAXFragment()
          Deprecated. Get the cached sax stream.
 boolean isValid(ComponentCacheKey componentKey, CacheValidity componentValidity)
          Deprecated. 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

CachedEventObject

public CachedEventObject(Map validityObjects,
                         Object saxFragment)
Deprecated. 
Create a new entry for the cache.

Parameters:
validityObjects - The CacheValidity objects hashed by their ComponentCacheKey
saxFragment - The cached sax stream
Method Detail

isValid

public boolean isValid(ComponentCacheKey componentKey,
                       CacheValidity componentValidity)
Deprecated. 
Checks if the CacheValidity object is still valid.


getCacheValidity

public CacheValidity getCacheValidity(ComponentCacheKey componentKey)
Deprecated. 
Get the validity object

Returns:
The CacheValidity object or null.

getSAXFragment

public Object getSAXFragment()
Deprecated. 
Get the cached sax stream.

Returns:
The sax stream


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.