org.apache.cocoon.caching
Class PipelineCacheKey

java.lang.Object
  extended byorg.apache.cocoon.caching.PipelineCacheKey
All Implemented Interfaces:
Serializable

public final class PipelineCacheKey
extends Object
implements Serializable

This is the cache key for one pipeline (or the first part of a pipeline). It consists of one or more ComponentCacheKeys.

Version:
$Id: PipelineCacheKey.html 1304280 2012-03-23 11:18:01Z ilgrosso $
See Also:
Serialized Form

Constructor Summary
PipelineCacheKey()
          Constructor
PipelineCacheKey(int size)
          Constructor
 
Method Summary
 void addKey(ComponentCacheKey key)
          Add a key
 PipelineCacheKey copy()
          Clone the object (but not the component keys)
 boolean equals(Object object)
          Compare
 int hashCode()
          Generate a hash code
 void removeLastKey()
          Remove the last key
 void removeUntilCachePoint()
          Remove unitl cachepoint (including cachePoint)
 int size()
          Return the number of keys
 String toString()
          toString The FilesystemStore uses toString!
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PipelineCacheKey

public PipelineCacheKey()
Constructor


PipelineCacheKey

public PipelineCacheKey(int size)
Constructor

Method Detail

addKey

public void addKey(ComponentCacheKey key)
Add a key


removeLastKey

public void removeLastKey()
Remove the last key


removeUntilCachePoint

public void removeUntilCachePoint()
Remove unitl cachepoint (including cachePoint)


size

public int size()
Return the number of keys


equals

public boolean equals(Object object)
Compare


hashCode

public int hashCode()
Generate a hash code


copy

public PipelineCacheKey copy()
Clone the object (but not the component keys)


toString

public String toString()
toString The FilesystemStore uses toString!



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