Remember if you have a map that is backed by database the calls to Map.put will issue
Mapstore.load as the put should return the old value.
You can use Map.set to circumvent this behavior; the same goes for remove and delete.
Also note, that for write-back persistence MapStore.store and MapStore.load methods might be used if there are only some items to persist.