org.apache.cocoon.pipeline.caching
Class CompleteCacheValue
java.lang.Object
org.apache.cocoon.pipeline.caching.AbstractCacheValue
org.apache.cocoon.pipeline.caching.CompleteCacheValue
- All Implemented Interfaces:
- Serializable, CacheValue
public class CompleteCacheValue
- extends AbstractCacheValue
- See Also:
- Serialized Form
CompleteCacheValue
public CompleteCacheValue(byte[] content,
CacheKey cacheKey)
getValue
public Object getValue()
-
- See Also:
CacheValue.getValue()
setValue
public void setValue(Object value)
- Sets value of this cache
- See Also:
org.apache.cocoon.pipeline.caching.CacheValue#setValue()
toString
public String toString()
- Overrides:
toString
in class Object
size
public double size()
- Returns size of this
CacheValue
in bytes.
- Returns:
- size of cached value in bytes or -1 if something goes wrong.
- See Also:
CacheValue.size()
writeTo
public void writeTo(OutputStream outputStream)
throws IOException
-
- Throws:
IOException
- See Also:
#writeTo(java.io.OutputStream)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.