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 9CB75200C3B for ; Fri, 3 Mar 2017 19:58:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9B746160B5E; Fri, 3 Mar 2017 18:58:55 +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 0291F160B81 for ; Fri, 3 Mar 2017 19:58:54 +0100 (CET) Received: (qmail 89981 invoked by uid 500); 3 Mar 2017 18:58:54 -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 89780 invoked by uid 99); 3 Mar 2017 18:58:53 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2017 18:58:53 +0000 Received: from [192.168.75.113] (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 99B161A02C9 for ; Fri, 3 Mar 2017 18:58:53 +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.2 \(3259\)) Subject: Re: IGNITE-3422 - ready for review Date: Fri, 3 Mar 2017 10:58:52 -0800 References: <5CA257DA-AE41-4C09-BAF5-074CC0270DC5@apache.org> <9ED94A13-2DE7-4B28-9090-67C2AF0B2ACB@apache.org> To: dev@ignite.apache.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3259) archived-at: Fri, 03 Mar 2017 18:58:55 -0000 Vyacheslav, sorry for the delay with a reply. Let=E2=80=99s put off this ticket for now because, as I see it=E2=80=99s = too controversial for us. If no one emerges and asks that he needs it = then we will close it later on. =E2=80=94 Denis > On Mar 1, 2017, at 12:11 AM, Vyacheslav Daradur = wrote: >=20 > Guys, any thoughts? >=20 > 2017-02-23 13:22 GMT+03:00 Vyacheslav Daradur : >=20 >> I think it makes a sense to define factory in IgniteConfiguration, as = the >> Map which will be ised when deserializing. >>=20 >> Interface example: >>=20 >> public intterface InstanceFactory { >> newInstance(Class clazz, BinaryReader reader); >> } >>=20 >> P.S. >> About "constructor(BinraryReader reader)" - I think there is no = sense, >> because it just duplicate readObject method and we can't manage a = reference >> of new instance. >> How about singlton-deserialization? >>=20 >>=20 >>=20 >> 2017-02-23 10:16 GMT+03:00 Denis Magda : >>=20 >>> In my understanding the goal is well-defined in the ticket. At the = same >>> time we have a similar task prepared by Pavel for .NET: >>> https://issues.apache.org/jira/browse/IGNITE-3102 < >>> https://issues.apache.org/jira/browse/IGNITE-3102> >>>=20 >>> So, what we need to agree on is how to proceed with the = implementation. >>> Let us think this over and propose design. >>>=20 >>> =E2=80=94 >>> Denis >>>=20 >>>> On Feb 22, 2017, at 2:41 AM, Vyacheslav Daradur = >>> wrote: >>>>=20 >>>> Guys, let's discuss a goal of this task. >>>>=20 >>>> I need the task specification. >>>>=20 >>>>=20 >>>> 2017-02-22 2:00 GMT+03:00 Denis Magda >> dmagda@apache.org>>: >>>> Replied. >>>>=20 >>>> =E2=80=94 >>>> Denis >>>>=20 >>>>> On Feb 20, 2017, at 3:08 AM, Vladimir Ozerov >> > wrote: >>>>>=20 >>>>> Hi Vyacheslav, >>>>>=20 >>>>> Thank you for contribution. I reviewed implementation again and = now I >>> am in >>>>> doubts whether our product would really benefit from it or not. = See my >>>>> comments in the ticket. I'de prefer Denis Magda to chime in and = give >>> his >>>>> feedback first. >>>>>=20 >>>>> Vladimir. >>>>>=20 >>>>> On Wed, Feb 15, 2017 at 5:00 PM, Vyacheslav Daradur < >>> daradurvs@gmail.com > >>>>> wrote: >>>>>=20 >>>>>> Hello everyone. >>>>>>=20 >>>>>> Please, review implemented solution. >>>>>>=20 >>>>>> https://issues.apache.org/jira/browse/IGNITE-3422 < >>> https://issues.apache.org/jira/browse/IGNITE-3422> - No way to = control >>>>>> object initialization during deserialization/unmarshalling >>>>>>=20 >>>>>> ci.tests = >> > >>>>>>=20 >>>>=20 >>>>=20 >>>=20 >>>=20 >>=20