----- Original Message -----
> From: "Sanne Grinovero" <[email protected]>
> To: "infinispan -Dev List" <[email protected]>
> Sent: Saturday, February 4, 2012 10:08:16 PM
> Subject: Re: [infinispan-dev] JBoss Libra
> 
> On 4 February 2012 14:57, Manik Surtani <[email protected]> wrote:
> > This is very similar to storeAsBinary.  If this is set to true,
> > then keys and values are serialized and stored as a
> > MarshalledValue which contains the resulting byte[].  So rather
> > than restrict to just byte[] types, we could restrict to:
> >
> >  * byte[] or any other primitive, primitive array or String
> >  * OR, if storeAsBinary is set to true.
> 
> +1, the family of known sizes can be extended. We could even do a
> recursive calculation and ask the registered Externalizer for the
> specific type; it's unlikely we can have this information returned by
> all externalizers but many could be able to handle a fairly accurate
> estimate.
I'm not sure I get the "family of known sizes" bit. If you have storeAsBinary 
set to true you know exactly the size the size that given object has in memory. 
Or are you refering at the situation whre storeAsBinary is set to false? 

_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to