On 11 May 2011, at 18:27, Sanne Grinovero wrote:

I'm also wondering how the equals is performed on a serialized key; I
assume they are compared as byte[], but if that's the case that should
be clearly documented as it would ignore any custom equals()
implementation.

Your assumption is correct:

https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/marshall/MarshalledValue.java#L176

Good point that it needs to be documented clearly.  Doing it now.

Cheers
Manik
--
Manik Surtani
manik@jboss.org
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org