Files
spring-data-examples/mongodb/example/src
Christoph Strobl 50cb4b9bba #58 - Add sample for usage of server-side JavaScript.
Use a server-side script to simulate putIfAbsent(…) as contracted by the Map interface. The operation will be atomic since MongoDB will put a lock on database until the script is finished.
2015-07-16 08:34:10 +02:00
..