[infinispan-issues] [JBoss JIRA] (ISPN-4220) RemoteCacheManager.getCache may ignore the forceReturnValue flag

Radim Vansa (JIRA) issues at jboss.org
Fri Apr 18 05:16:35 EDT 2014


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

Radim Vansa updated ISPN-4220:
------------------------------

    Affects Version/s: 7.0.0.Alpha3
                       6.0.2.Final

    
> RemoteCacheManager.getCache may ignore the forceReturnValue flag
> ----------------------------------------------------------------
>
>                 Key: ISPN-4220
>                 URL: https://issues.jboss.org/browse/ISPN-4220
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Remote Protocols
>    Affects Versions: 6.0.2.Final, 7.0.0.Alpha3
>            Reporter: Radim Vansa
>            Assignee: Galder Zamarreño
>
> {code}
> RemoteCacheManager manager = ...;
> Cache noReturnCache = manager.getCache("foo", false);
> Cache returnValueCache = manager.getCache("foo", true);
> {code}
> The second returned cache will use forceReturnValue=false, although it was retrieved with forceReturnValue=true. The reason is that caches are stored in a map by name, ignoring this flag.
> There should be two such maps. The question is what should getCache("foo") return if previously only getCache("foo", true) was called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list