[infinispan-issues] [JBoss JIRA] (ISPN-8718) JCache.put() always does get before put

Alon Greenland (JIRA) issues at jboss.org
Tue Jan 23 05:01:00 EST 2018


Alon Greenland created ISPN-8718:
------------------------------------

             Summary: JCache.put() always does get before put
                 Key: ISPN-8718
                 URL: https://issues.jboss.org/browse/ISPN-8718
             Project: Infinispan
          Issue Type: Bug
          Components: JCache
    Affects Versions: 9.1.4.Final, 9.2.0.CR1
            Reporter: Alon Greenland


In JCache Hot Rod client, Cache.put() operation ends up always first calling underlying Hot Rod RemoteCache.get() before calling RemoteCache.put().

This is inefficient and unnecessary.

It is caused by underlying common code ([AbstractJCache|https://github.com/infinispan/infinispan/blob/master/jcache/commons/src/main/java/org/infinispan/jcache/AbstractJCache.java#L220]) that handles together all the different put operations.





--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list