[
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.