Before, if you wanted to make atomic modifications to the distributed hash table provided by Cacheonix, you could use the distributed locks, such as in the example below: Cacheonix cacheonix = Cacheonix.getInstance(); ReadWriteLock readWriteLock = cacheonix.getCluster().getReadWriteLock(); Map map = cacheonix.getCache(mapName); Lock lock = readWriteLock.writeLock(); lock.lock(); try { if (!map.containsKey(key)) { return map.put(key, value); } else [...]