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 <[email protected]>
wrote:
> I merged it to ignite-45.
>
> On Mon, Mar 23, 2015 at 7:04 PM, Dmitriy Setrakyan <[email protected]>
> 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 <
> [email protected]>
> > 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.
> > >
> >
>