infinispan/infinispan — pull request #2671 by galderz (2014-06-25 11:55:09+00:00)
Title: ISPN-4424 Synchronize updating cache entry and making a copy

Exploratory PR. Local tests and tests in Takayoshi's environment have been successful with this patch (the patch in `t_4424` failed in Takayoshi's environment).

The patch could be further improved by potentially separating GetCacheEntryCommand out of GetKeyValueCommand, in order to avoid the extra cost of 2 instance variables in GetCacheEntryCommand, and have better encapsulation of responsibilities.