infinispan/infinispan — pull request #1068 by galderz (2012-04-17 17:06:44+00:00)
Title: ISPN-1983 Improve efficiency of subsequent putForExternalRead calls

https://issues.jboss.org/browse/ISPN-1983

* Avoid creating unnecessary objects when PFER does not return previous value.
* Make sure cache mgmt interceptor updates store count only when operation is succesful, so when PFER or putIfAbsent do an actual put.

`5.1.x` branch: `t_1983_5`