[infinispan-dev] storeAsBinary keeps both the object and the byte[] - why?

Mircea Markus mmarkus at redhat.com
Thu Jul 18 09:48:15 EDT 2013


On 18 Jul 2013, at 14:08, Dan Berindei <dan.berindei at gmail.com> wrote:

> Are you sure both representations are kept? 
> 
> MarshalledValueInterceptor.visitGetKeyValueCommand() should call MarshalledValue.compact just before returning, which should keep only one representation.

MarshalledValueInterceptor.visitGetKeyValueCommand() invokes MarshalledValueInterceptor.compact(mv). The *mv* parameter , at least for values, is null.

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)







More information about the infinispan-dev mailing list