ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@gridgain.com>
Subject Re: Properly Immutable Keys/values with Binary objects ?
Date Tue, 05 Jul 2016 09:23:26 GMT
Hi Kristian,

This is just not supported. I’ve created the ticket for that improvement
IGNITE-3422 - No way to control object initialization during deserialization/unmarshalling
<https://issues.apache.org/jira/browse/IGNITE-3422>

Feel free to add your thoughts there.

—
Denis

> On Jul 5, 2016, at 9:05 AM, Kristian Rosenvold <krosenvold@apache.org> wrote:
> 
> Some of our keys/values are properly immutable Java objects (with
> final), and it appears that the java Serialization is the only way
> these can be serialized. Looking at BinaryClassDescriptor#newInstance
> it appears a no-args constructor is the only supported method, and the
> BinaryConfiguration does not support any kind of instantiation
> strategy.
> 
> Is this just "not implemented" or is there some particular reason why
> this is not supported ?
> 
> Kristian


Mime
View raw message