Hello!

What about existing convention of using asterisk to mark templates? How
does it integerate with this one?

Regards,
-- 
Ilya Kasnacheev


чт, 14 февр. 2019 г. в 13:04, Sergey Moldachev <sergeymoldac...@gmail.com>:

> Sounds good, I agree with naming and marking *addCacheConfiguration* method
> as deprecated with replacing on *addCacheConfigurationTemplate*.
>
> Stanislav, could you please look at this?
>
> Thank you,
> Sergey
>
> чт, 14 февр. 2019 г. в 01:49, Eduard Shangareev <
> eduard.shangar...@gmail.com
> >:
>
> > CacheConfiguration cfg = ignite.cacheConfiguration("myTemplate");
> > cfg.setName("myCacheFromTemplate");
> > ignite.createCache(cfg);
> >
> > Ok, I got it. We already have addCacheConfiguration and
> cacheConfiguration
> > should be a getter-like counterpart for it.
> >
> > So, I would suggest deprecating this addCacheConfiguration method and add
> > new one Ignite.addCacheTemplate and its counterpart getCacheTemplate.
> > Because cacheConfiguration looks very weird, I would expect that it
> should
> > return cache configuration for any given cache name.
> >
> >
> > Thoughts?
> >
> >
> > On Thu, Feb 14, 2019 at 12:01 AM Sergey Moldachev <
> > sergeymoldac...@gmail.com>
> > wrote:
> >
> > > Hi, Eduard, thank you for your reply!
> > >
> > > You can find example and full description in the Jira task
> > > <https://issues.apache.org/jira/browse/IGNITE-11141>. Also you can
> find
> > > simple implementation in comments.
> > >
> > > Thank you,
> > > Sergey!
> > >
> > > + update subject (fixed a typo)
> > >
> > > ср, 13 февр. 2019 г. в 19:55, Eduard Shangareev <
> > > eduard.shangar...@gmail.com
> > > >:
> > >
> > > > Hi, Sergey!
> > > >
> > > > Could you give some example of how it is supposed to use?
> > > >
> > > > On Wed, Feb 13, 2019 at 6:02 PM Sergey Moldachev <
> > > > sergeymoldac...@gmail.com>
> > > > wrote:
> > > >
> > > > > Hi, Igniters!
> > > > >
> > > > > I want to add the new java method *cacheConfiguration(String
> > > cacheName)*
> > > > in
> > > > > to *Ignite* core interface as part of the task
> > > > > https://issues.apache.org/jira/browse/IGNITE-11141.
> > > > >
> > > > > I'll be glad to see the comments about this feature.
> > > > >
> > > > > Thank you,
> > > > > Sergey
> > > > >
> > > >
> > >
> >
>

Reply via email to