[infinispan-issues] [JBoss JIRA] Created: (ISPN-86) InternalCacheValue/InternalCacheEntry optimization

Mircea Markus (JIRA) jira-events at lists.jboss.org
Mon Jun 1 09:03:56 EDT 2009


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.BETA1
            Reporter: Mircea Markus
            Assignee: Mircea Markus


>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