[infinispan-issues] [JBoss JIRA] Updated: (ISPN-721) Change CacheStore.store() to return the previous value instead of void.
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Thu May 12 18:59:34 EDT 2011
[ https://issues.jboss.org/browse/ISPN-721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manik Surtani updated ISPN-721:
-------------------------------
Fix Version/s: 5.0.0.CR3
(was: 5.0.0.CR2)
> Change CacheStore.store() to return the previous value instead of void.
> -----------------------------------------------------------------------
>
> Key: ISPN-721
> URL: https://issues.jboss.org/browse/ISPN-721
> Project: Infinispan
> Issue Type: Task
> Components: Core API
> Affects Versions: 4.2.0.Final
> Reporter: Trustin Lee
> Assignee: Manik Surtani
> Fix For: 5.0.0.CR3
>
>
> Cache.put(key, value) operation returns a previous value. However, CacheStore.store() does not return a previous value but void. To overcome the impedance mismatch, the current implementation calls CacheStore.load() to simply get the previous value. CacheStore.store() could be improved to reduce this unnecessary round trip.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list