infinispan/infinispan — pull request #697 by maniksurtani (2011-12-02 19:06:12+00:00)
Title: ISPN-1116 Versioned Entries.

* This isn't a complete and general purpose versioned entries impl - it is specific to support clustered write skew checks in optimistically locked transactional caches only.
* Configuration is provided as a form of future-proofing - at the moment there is only one versioning scheme which is only and always used with clustered write skew checking.

http://issues.jboss.org/browse/ISPN-1116

I realise the InternalCacheEntry hierarchy is sub-optimal, and that an EntryVersion reference is created (although set to null) even if versioning is not used. An extra 2 bytes per entry wasted. I intend to refactor this post-CR1.