]
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/...],
but it is never being used!