[infinispan-dev] storeAsBinary: serialize keys, values, or both?

Manik Surtani manik at jboss.org
Thu May 12 11:06:33 EDT 2011


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 at jboss.org
twitter.com/maniksurtani

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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20110512/63794888/attachment.html 


More information about the infinispan-dev mailing list