ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: Ignite.createCache semantic
Date Mon, 23 Mar 2015 21:50:11 GMT
Ira,

I have a question about this method:

    public <K, V> IgniteCache<K, V> getOrCreateCache(String springCfgPath);

If the configuration file has several caches defined, which one does this
method return?

D.

On Mon, Mar 23, 2015 at 9:06 AM, Ira Vasilinets <ivasilinets@gridgain.com>
wrote:

> I merged it to ignite-45.
>
> On Mon, Mar 23, 2015 at 7:04 PM, Dmitriy Setrakyan <dsetrakyan@apache.org>
> 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 <
> ivasilinets@gridgain.com>
> > 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<K,
> V>
> > > nearCfg).
> > >
> > > I also renamed getOrCreateNearCache for the same reasons.
> > >
> > > Thoughts?
> > >
> > > Ira.
> > >
> >
>

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