ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vyacheslav Daradur <daradu...@gmail.com>
Subject Re: question: How data are stored in IgniteCache?
Date Thu, 13 Apr 2017 07:21:52 GMT
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 <dmagda@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 <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
>
>


-- 
Best Regards, Vyacheslav

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message