cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: CacheableProcessingComponent Contracts
Date Thu, 08 Sep 2005 17:49:45 GMT
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

Mime
View raw message