You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2005/09/08 19:49:45 UTC

[DAISY] Updated: CacheableProcessingComponent Contracts

A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/675.html

Document ID: 675
Branch: main
Language: default
Name: CacheableProcessingComponent Contracts (unchanged)
Document Type: Document (unchanged)
Updated on: 9/8/05 5:49:31 PM
Updated by: Berin Loritsch

A new version has been created, state: publish

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 8826 bytes (previous version: 8605 bytes)
Content diff:
(29 equal lines skipped)
    <ul>
    <li>It must be Serializable (part of the contract of the <tt>getKey()</tt>
    method).</li>
--- <li>It must be Immutable--the key is used as a lookup value</li>
+++ <li>It must be Immutable--the key is used as a lookup value.</li>
+++ <li>It must be Unique within the space of the component (i.e. the key "1" for
+++ MyCacheableComponent must be for the same resource every time, but we don't have
+++ to worry about the key "1" for YourCacheableComponent).</li>
    <li>The <tt>equals()</tt> and <tt><tt><tt>hashCode()</tt></tt></tt> methods must
    be consistent (i.e. if two keys are equal, the hashCode must also be equal).
    </li>
(158 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes