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 1324017415 for ; Mon, 23 Mar 2015 16:07:06 +0000 (UTC) Received: (qmail 50533 invoked by uid 500); 23 Mar 2015 16:07:06 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 50499 invoked by uid 500); 23 Mar 2015 16:07:06 -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 50487 invoked by uid 99); 23 Mar 2015 16:07:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 16:07:05 +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 ivasilinets@gridgain.com designates 74.125.82.181 as permitted sender) Received: from [74.125.82.181] (HELO mail-we0-f181.google.com) (74.125.82.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 16:07:01 +0000 Received: by wegp1 with SMTP id p1so141717833weg.1 for ; Mon, 23 Mar 2015 09:06:40 -0700 (PDT) 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=DJJWzt0v7zq9FIFomZLuyJWWsOuK3guYSJKhnKhhx6s=; b=gFV4x9tWPNNPw5rRfD/Km/6c5VhyZr5q/mDcNeoOmRYm88T/9z0VBjlMWc78478Uua EoGPQG4RZc3TQGtxVkrKiIghq21Y9uvuskLBZOqzjUSjokwVyUEyDDQtc9rtzvT0GUzq ZmvM+QTaBP1wqPp7Ou8VjqR/ZXuI5uvmdxZzM2rSQOx1trSBmXj+Jb8l7NCV4bydKJNr SztJsCtHx8SZrORWltExZReJ2UHzXfAfAQlrhn1RRjD8ukV2jjgJB7Qx3aT0yXYg1V7d Rh0p8MMNx4xuTVASOJQQ9O5NjtR1EGAQzoFvzvz507PIiLQoTmgSJ7/ISoGUIZmvt50g wA1A== X-Gm-Message-State: ALoCoQnI4B4sxS5lg88B9mZUmG7A5Avp9YTDvzWJHOCWP8gs0tEqh606ZHNpHcS7IFWsqXwRYe3C MIME-Version: 1.0 X-Received: by 10.180.97.106 with SMTP id dz10mr20354924wib.33.1427126798614; Mon, 23 Mar 2015 09:06:38 -0700 (PDT) Received: by 10.28.87.17 with HTTP; Mon, 23 Mar 2015 09:06:38 -0700 (PDT) In-Reply-To: References: Date: Mon, 23 Mar 2015 19:06:38 +0300 Message-ID: Subject: Re: Ignite.createCache semantic From: Ira Vasilinets To: dev@ignite.incubator.apache.org Content-Type: multipart/alternative; boundary=f46d0442712ee19ba90511f6d923 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0442712ee19ba90511f6d923 Content-Type: text/plain; charset=UTF-8 I merged it to ignite-45. On Mon, Mar 23, 2015 at 7:04 PM, Dmitriy Setrakyan wrote: > Thanks Ira! > > The approach sounds good to me. Are you merging it into sprint-2 or is it > going to be done as part of sprint-3? > > D. > > On Mon, Mar 23, 2015 at 8:18 AM, Ira Vasilinets > wrote: > > > Hi, > > > > I have done ticket "Start caches with spring path": > > https://issues.apache.org/jira/browse/IGNITE-556 > > > > I added for each method createCache(getOrCreateCache) pair method that > use > > xml file instead of CacheConfiguration. > > > > Method createCache(String cacheXmlFile, String nearCacheXmlFile) > conflicts > > with createCache(@Nullable String cacheName, String nearCacheXmlFile). > > I renamed second method to > > createNearCache(@Nullable String cacheName, String nearCacheXmlFile) > > and its paired method > > createNearCache(@Nullable String cacheName, NearCacheConfiguration > > nearCfg). > > > > I also renamed getOrCreateNearCache for the same reasons. > > > > Thoughts? > > > > Ira. > > > --f46d0442712ee19ba90511f6d923--