[infinispan-issues] [JBoss JIRA] Commented: (ISPN-86) InternalCacheValue/InternalCacheEntry optimization
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Mon Jun 8 11:36:56 EDT 2009
[ https://jira.jboss.org/jira/browse/ISPN-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12471039#action_12471039 ]
Manik Surtani commented on ISPN-86:
-----------------------------------
Note that as a performance optimisation, ICV implementations should be inner classes of the ICE implementations.
> InternalCacheValue/InternalCacheEntry optimization
> --------------------------------------------------
>
> Key: ISPN-86
> URL: https://jira.jboss.org/jira/browse/ISPN-86
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core API
> Affects Versions: 4.0.0.ALPHA4
> Reporter: Mircea Markus
> Assignee: Mircea Markus
> Fix For: 4.0.0.BETA1
>
>
> From a IRC discussion with Manik:
> Right now an InternalCacheValue(ICV) is created from an InternalCacheEntry(ICE) by the CacheStore whenever we persist an entry: this is in order to avoid duplicate marshalling of the key.
> Same way, an InternalCacheEntry is created from an ICV whenever the value is unmarshalled.
> Avoid this unnecessary creation of objects by making ICE aggregate an ICV, and delegate all the state calls to it.
> Impl note: in order to allow delegation from ICE to ICV, make all the ICV's methods final.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list