ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@apache.org>
Subject Re: question: How data are stored in IgniteCache?
Date Wed, 12 Apr 2017 19:34:09 GMT
A Java wrapper around an actual binary byte array with some additional fields and methods to
work with the serialized data.

—
Denis

> On Apr 12, 2017, at 8:33 AM, Vyacheslav Daradur <daradurvs@gmail.com> wrote:
> 
> In what cases BinaryObjecImpl is used?
> 
> 2017-04-12 18:08 GMT+03:00 Denis Magda <dmagda@apache.org>:
> 
>> Hi,
>> 
>> A cache entry is always stored in a binary format (byte array) in a cache.
>> Even when you transfer an entry from one node to another, as a result of
>> cache.put(…), operation the entry will be serialized into the binary format
>> and transferred over the wire.
>> 
>> —
>> Denis
>> 
>>> On Apr 12, 2017, at 1:11 AM, Vyacheslav Daradur <daradurvs@gmail.com>
>> wrote:
>>> 
>>> Hello Igniters!
>>> 
>>> I have one conceptual question:
>>> 
>>> When we put an object in IgniteCache, how it is stored?
>>> 
>>> As I understand, after marshalling we have an array of bytes,
>>> 1) in a local node it is wrapped in BinaryObjectImpl and stored in memory
>>> 2) it is sent to remote node as byte array where it will be wrapped in
>>> BinaryObjectImpl and be stored in memory
>>> 
>>> --
>>> Best Regards, Vyacheslav
>> 
>> 
> 
> 
> -- 
> Best Regards, Vyacheslav


Mime
View raw message