org.apache.cocoon.caching
Class ComponentCacheKey

java.lang.Object
  |
  +--org.apache.cocoon.caching.ComponentCacheKey
All Implemented Interfaces:
java.io.Serializable

public final class ComponentCacheKey
extends java.lang.Object
implements java.io.Serializable

This is the cache key for one sitemap component. It consists of two parts:
a.) The component identifier - a unique handle for the sitemap component
b.) The cache key - a key, generated by the component, which is unique inside the component space.

Version:
CVS $Id: ComponentCacheKey.java,v 1.5.2.2 2002/08/08 02:55:22 vgritsenko Exp $
Author:
Carsten Ziegeler
See Also:
Serialized Form

Field Summary
static int ComponentType_Generator
           
static int ComponentType_Reader
           
static int ComponentType_Serializer
           
static int ComponentType_Transformer
           
 
Constructor Summary
ComponentCacheKey(int componentType, java.lang.String componentIdentifier, long cacheKey)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ComponentType_Generator

public static final int ComponentType_Generator

ComponentType_Transformer

public static final int ComponentType_Transformer

ComponentType_Serializer

public static final int ComponentType_Serializer

ComponentType_Reader

public static final int ComponentType_Reader
Constructor Detail

ComponentCacheKey

public ComponentCacheKey(int componentType,
                         java.lang.String componentIdentifier,
                         long cacheKey)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.