[infinispan-issues] [JBoss JIRA] (ISPN-8717) JCache.put calls RemoteCache in forceReturnValues configuration
Alon Greenland (JIRA)
issues at jboss.org
Wed Jan 24 21:09:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-8717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alon Greenland updated ISPN-8717:
---------------------------------
Summary: JCache.put calls RemoteCache in forceReturnValues configuration (was: Cache.put calls RemoteCache in forceReturnValues configuration)
> JCache.put calls RemoteCache in forceReturnValues configuration
> ---------------------------------------------------------------
>
> Key: ISPN-8717
> URL: https://issues.jboss.org/browse/ISPN-8717
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Affects Versions: 9.2.0.CR1, 9.1.4.Final
> Reporter: Alon Greenland
>
> In JCache Hot Rod client, Cache.put() operation, which doesn't return previous value, calls underlying Hot Rod RemoteCache in force return values mode.
> This is inefficient.
> In the code, I can see that in JCache class there is [RemoteCache<K, V> cacheWithoutReturnValue field|https://github.com/infinispan/infinispan/blob/master/jcache/remote/src/main/java/org/infinispan/jcache/remote/JCache.java#L58], but it is never being used!
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list