Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4144B200C54 for ; Wed, 12 Apr 2017 21:34:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3E104160BA9; Wed, 12 Apr 2017 19:34:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ABE70160B85 for ; Wed, 12 Apr 2017 21:34:12 +0200 (CEST) Received: (qmail 10242 invoked by uid 500); 12 Apr 2017 19:34:11 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 10231 invoked by uid 99); 12 Apr 2017 19:34:11 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Apr 2017 19:34:11 +0000 Received: from [192.168.75.184] (c-73-222-138-29.hsd1.ca.comcast.net [73.222.138.29]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 67A891A036B for ; Wed, 12 Apr 2017 19:34:11 +0000 (UTC) From: Denis Magda Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: question: How data are stored in IgniteCache? Date: Wed, 12 Apr 2017 12:34:09 -0700 References: <083D9862-A652-4BB9-9BB8-D7D7FB973478@apache.org> To: dev@ignite.apache.org In-Reply-To: Message-Id: <801D5592-99CA-4150-B86F-76637C8B9BAF@apache.org> X-Mailer: Apple Mail (2.3273) archived-at: Wed, 12 Apr 2017 19:34:13 -0000 A Java wrapper around an actual binary byte array with some additional = fields and methods to work with the serialized data. =E2=80=94 Denis > On Apr 12, 2017, at 8:33 AM, Vyacheslav Daradur = wrote: >=20 > In what cases BinaryObjecImpl is used? >=20 > 2017-04-12 18:08 GMT+03:00 Denis Magda : >=20 >> Hi, >>=20 >> 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(=E2=80=A6), operation the entry will be serialized into the = binary format >> and transferred over the wire. >>=20 >> =E2=80=94 >> Denis >>=20 >>> On Apr 12, 2017, at 1:11 AM, Vyacheslav Daradur = >> wrote: >>>=20 >>> Hello Igniters! >>>=20 >>> I have one conceptual question: >>>=20 >>> When we put an object in IgniteCache, how it is stored? >>>=20 >>> 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 >>>=20 >>> -- >>> Best Regards, Vyacheslav >>=20 >>=20 >=20 >=20 > --=20 > Best Regards, Vyacheslav