-
Enhancement
-
Resolution: Won't Do
-
Major
-
8.12.11.6_4, 9.3.2
-
None
For a performance improvement, change to use Flag.IGNORE_RETURN_VALUES
Cache noPreviousValueCache = cache.getAdvancedCache().withFlags(Flag.IGNORE_RETURN_VALUES);
noPreviousValueCache.put(k, v);
or can use ConfigurationBuilder settings:
ConfigurationBuilder cb = new ConfigurationBuilder();
cb.unsafe().unreliableReturnValues(true);