Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » caching » [javadoc | source]
org.apache.cocoon.caching
public final class: CachedStreamObject [javadoc | source]
java.lang.Object
   org.apache.cocoon.caching.CachedStreamObject

All Implemented Interfaces:
    Serializable

Deprecated! by - the CachedResponse

This is an cached object as it is stored in the StreamCache
Constructor:
 public CachedStreamObject(Map validityObjects,
    byte[] response) 
    Create a new entry for the cache.
    Parameters:
    validityObjects - The CacheValidity objects hashed by their ComponentCacheKey
    response - The cached response
Method from org.apache.cocoon.caching.CachedStreamObject Summary:
getCacheValidity,   getResponse,   isValid
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.caching.CachedStreamObject Detail:
 public CacheValidity getCacheValidity(ComponentCacheKey componentKey) 
      Deprecated!
    Get the validity object
 public byte[] getResponse() 
      Deprecated!
    Get the cached response.
 public boolean isValid(ComponentCacheKey componentKey,
    CacheValidity componentValidity) 
      Deprecated!
    Checks if the CacheValidity object is still valid.