Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E385B10F86 for ; Wed, 4 Feb 2015 12:53:13 +0000 (UTC) Received: (qmail 2456 invoked by uid 500); 4 Feb 2015 12:53:15 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 2418 invoked by uid 500); 4 Feb 2015 12:53:14 -0000 Mailing-List: contact dev-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list dev@ignite.incubator.apache.org Received: (qmail 2406 invoked by uid 99); 4 Feb 2015 12:53:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 12:53:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vozerov@gridgain.com designates 209.85.192.54 as permitted sender) Received: from [209.85.192.54] (HELO mail-qg0-f54.google.com) (209.85.192.54) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 12:53:09 +0000 Received: by mail-qg0-f54.google.com with SMTP id z60so272399qgd.13 for ; Wed, 04 Feb 2015 04:52:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Cf6RgaFXbo4gkS63iOABLJMBPqQ8mFQqHfTAYxQDHFE=; b=PAWP8xCcueuTaz3XGMh4DcITGsjbR4ghfK6X9KhfRm6zEqmjzNk8/D25hZDdTXmRNB O/rIgffhhoxxMHbO+bdlHel2atwsLhTfpQ9SPCYwPzDQC/k5uk2BaPAFp5NPMkQm8q16 Kkt33oVuRnqlIVK6M0KlHfJcCRDRnjzU4P3kcWtQ88eIDXztbFdEBnb/Mk8oXyrzkjq+ 5THjE37EZHfA5j5STfgMm/tWP+7BefS57FKNI/q748nJnuamiLZ8KWkov34DET99ALeY H+X1+giaSxlpZJhGloTy8GG6Ega5RWNjbIcx2s+Wh0GLb25c+ywbOFwH9x6j+M5OoRt0 YCdg== X-Gm-Message-State: ALoCoQlWlisigqStrqxbwR4usF+QGUM46JrlkqRXbWGTMDzgTafDNCznAClzzl4MMOheKE/weI+8 MIME-Version: 1.0 X-Received: by 10.229.65.133 with SMTP id j5mr20682194qci.27.1423054368936; Wed, 04 Feb 2015 04:52:48 -0800 (PST) Received: by 10.140.98.247 with HTTP; Wed, 4 Feb 2015 04:52:48 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Feb 2015 15:52:48 +0300 Message-ID: Subject: Re: ClientConnectionConfiguration properties refactoring. From: Vladimir Ozerov To: dev@ignite.incubator.apache.org Content-Type: multipart/alternative; boundary=001a11339d1e282d20050e42aa90 X-Virus-Checked: Checked by ClamAV on apache.org --001a11339d1e282d20050e42aa90 Content-Type: text/plain; charset=UTF-8 One more point here. Currently we have flag *IgniteConfiguration.restEnabled* which is deprecated and it is advised to use *IgniteConfiguration.clientConnectionConfiguration* instead. I want to remove this flag. But the problem is that this flag is set to "true" by default. Therefore, if I remove it, I will have to set default value for "clientConnectionConfiguration" to "new ClientConnectionConfiguration()" to keep REST enabled by default as earlier. And if you want to disable REST, he will have to "IgniteConfiguration.setClientConnectionConfigration(null)", what looks counterintuitive. So I think it is better to keep this flag in configuration and remove deprecatino from it. Any thoughts? On Wed, Feb 4, 2015 at 12:40 PM, Yakov Zhdanov wrote: > Agree. Just pay attention to abbreviations - message -> msg, count -> cnt, > etc. > > -- > Yakov Zhdanov, Director R&D > *GridGain Systems* > www.gridgain.com > > 2015-02-04 12:27 GMT+03:00 Vladimir Ozerov : > > > Folks, > > > > Currently "o.a.i.c.ClientConnectionConfiguration" class has lots of > > properties and we have a plan to review/refactor them. > > > > Here is my proposal on that: > > 1) Almost all properties have "rest" and "tcp" in their names. Let's > remove > > these prefixes altogether. E.g.: "restTcpSelectorCount" -> > "selectorCount". > > 2) Rename "clientMessageInterceptor" to "messageInterceptor" > > 3) Remove "restAccessibleFolders" and corresponding client "LOG" command. > > 4) Remove all mirrored (and already deprecated) properties from > > IgniteConfiguration as backward compatibility is not a concern for > initial > > release. > > > > It appears that none other properties can be removed from this class > > because Memcached client use binary protocol and may potentially need any > > of them. > > > > Any comments? > > > > Vladimir. > > > --001a11339d1e282d20050e42aa90--