cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ellis Pritchard (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COCOON-2151) Sub-optimal implementation of AbstractDoubleMapEventRegistry
Date Tue, 27 Nov 2007 11:39:43 GMT

    [ https://issues.apache.org/jira/browse/COCOON-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545801
] 

Ellis Pritchard commented on COCOON-2151:
-----------------------------------------

Having looked at MultiHashMap (and MultiValueMap) more closely, I see what you are saying
is, of course, true...

Looks like the work to do here is:

1/ Implement WeakReference version of EventRegistry, using Ard's code as a base (using MultiValueMap
again for future compatibility!)
2/ Implement java.io.Externalizable interface in EventRegistryDataWrapper (or equivalent)
to handle custom serialization for the WeakReference maps.

Should this be a re-implementation of the existing classes (which now look rather broken),
or a completely new implementation which requires a configuration change to select?


> Sub-optimal implementation of AbstractDoubleMapEventRegistry
> ------------------------------------------------------------
>
>                 Key: COCOON-2151
>                 URL: https://issues.apache.org/jira/browse/COCOON-2151
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: Event Cache
>    Affects Versions: 2.1.10, 2.2-dev (Current SVN)
>            Reporter: Jörg Heinicke
>
> This is just a follow-up from COCOON-2146 where Ard pointed out some issues with AbstractDoubleMapEventRegistry.
I just didn't want to lose the information when I actually fixed the issue. So I will add
it here.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message