Denis, thank you for answers.

I meant another.

For example:
Cache queries use a BinaryObjectImpl and a withKeepBinary-mode use it, so
looks like all actions on serialized object are make via a BinaryObjectImpl.

Does a serialized object always is stored as BinaryObjectImpl or it will be
wrapped on demand?

2017-04-12 22:34 GMT+03:00 Denis Magda <dma...@apache.org>:

> 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 <daradu...@gmail.com>
> wrote:
> >
> > In what cases BinaryObjecImpl is used?
> >
> > 2017-04-12 18:08 GMT+03:00 Denis Magda <dma...@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 <daradu...@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
>
>


-- 
Best Regards, Vyacheslav

Reply via email to