私はHazelcast2.1とSpring3.1でSpring@Cacheableアノテーションを使用しています。
@Cacheable("testCache")
public MyObject testMethod(int testParam);
//After method call
MyObject test = Hazelcast.getMap("testCache").get("key")
test.setSomeProp() //This line causes an update to the cache since it is reference.
Hazelcast.getMap()からの参照ではなく、マップからキャッシュされた値のクローン/コピーを返すことは可能 ですか?
つまり、EhCacheのようなcopyOnRead機能が必要です。EhCacheのドキュメントを参照してください