Details
-
Task
-
Resolution: Won't Do
-
Major
-
4.2.0.Final
-
None
Description
Cache.put(key, value) operation returns a previous value. However, CacheStore.store() does not return a previous value but void. To overcome the impedance mismatch, the current implementation calls CacheStore.load() to simply get the previous value. CacheStore.store() could be improved to reduce this unnecessary round trip.