[ 
https://issues.apache.org/jira/browse/GEODE-10414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603015#comment-17603015
 ] 

ASF GitHub Bot commented on GEODE-10414:
----------------------------------------

gaussianrecurrence opened a new pull request, #984:
URL: https://github.com/apache/geode-native/pull/984

   - Moved PUT actions from LocalRegion into its own modules.
   - Added PutIfAbsent action.
   - Added the necessary scaffolding for put requests to return a value.
   - Moved TcrMessagePut implementation into its own file. Now this message
     type accepts an operation as input.
   - Moved TcrMessageDestroy implementation into its own file. Now this
     message accepts an operation as input.
   - Also, updated TcrMessageDestroy operation format so it uses a byte
     part instead of an object.
   - Added putIfAbsent method to the Region interface and its
     implementations both for LocalRegion and ThinClientRegion.
   - Modified LocalRegion and ThinClientRegion to comply with the above
     code changes.
   - Modified PUT's old value parsing to handle null pointer.
   - Also replaced Cacheable type by Serializable in some places in order
     in order to take advantage of fast-forward definition.




> Add putIfAbsent method to region interfaces
> -------------------------------------------
>
>                 Key: GEODE-10414
>                 URL: https://issues.apache.org/jira/browse/GEODE-10414
>             Project: Geode
>          Issue Type: New Feature
>          Components: native client
>            Reporter: Mario Salazar de Torres
>            Assignee: Mario Salazar de Torres
>            Priority: Major
>
> *AS A* geode-native contributor
> *I WANT TO* have putIfAbsent region method implemented
> *SO THAT* I can atomically put entries only if they don't previously, exist 
> and also, to align it with the Java API.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to