[infinispan-issues] [JBoss JIRA] (ISPN-5003) Support putIfAbsent() semantics for FineGrainedAtomic map

Gunnar Morling (JIRA) issues at jboss.org
Fri Nov 21 03:46:39 EST 2014


    [ https://issues.jboss.org/browse/ISPN-5003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021839#comment-13021839 ] 

Gunnar Morling edited comment on ISPN-5003 at 11/21/14 3:46 AM:
----------------------------------------------------------------

Related IRC discussion between [~epbernard], [~sannegrinovero] and me: http://transcripts.jboss.org/channel/irc.freenode.org/%23hibernate-dev/2014/%23hibernate-dev.2014-11-14.log.html#t2014-11-14T14:53:55




was (Author: gunnar.morling):
Related IRC discussion between me, [~epbernard] and [~sannegrinovero]: http://transcripts.jboss.org/channel/irc.freenode.org/%23hibernate-dev/2014/%23hibernate-dev.2014-11-14.log.html#t2014-11-14T14:53:55



> Support putIfAbsent() semantics for FineGrainedAtomic map
> ---------------------------------------------------------
>
>                 Key: ISPN-5003
>                 URL: https://issues.jboss.org/browse/ISPN-5003
>             Project: Infinispan
>          Issue Type: Feature Request
>            Reporter: Gunnar Morling
>              Labels: Slowing_OGM
>
> For Hibernate OGM we work with {{FineGrainedAtomicMap}} to represent entity tuples. Now we're looking for a way to insert such map into the cache only if it is not present under the given key yet (so we know after the invocation whether the insert has taken place or not).
> {{Cache#putIfAbsent()}} seems promising for that, but this seems not usable with {{FineGrainedAtomicMap}} (As I seem not able to create the map myself in that case).



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the infinispan-issues mailing list