[jbosscache-issues] [JBoss JIRA] Updated: (JBCACHE-1421) Optimize writes on primitives and Strings to short-circuit if there are no changes

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Feb 12 10:28:46 EST 2009


     [ https://jira.jboss.org/jira/browse/JBCACHE-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manik Surtani updated JBCACHE-1421:
-----------------------------------

    Fix Version/s: 3.2.0.GA
                       (was: 3.1.0.GA)


> Optimize writes on primitives and Strings to short-circuit if there are no changes
> ----------------------------------------------------------------------------------
>
>                 Key: JBCACHE-1421
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1421
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Manik Surtani
>            Assignee: Manik Surtani
>             Fix For: 3.2.0.GA
>
>
> E.g., 
> cache.put(fqn, "key", "Hello"); // tx 1
> ... wait ...
> cache.put(fqn, "key", "Hello"); // tx 2
> tx 2 should be able to short-circuit the process if there is no change in the payload.  Only makes sense for primitives and Strings though.  Even primitive arrays are not worth it since it would involve iterating through the array.

-- 
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 jbosscache-issues mailing list