RE: How to define a cache template?

2018-12-31 Thread Stanislav Lukyanov
What do you mean by “global”? The settings of a cache template are not 
automatically applied to every cache.
Cache template is just a way to reuse the same settings in multiple CREATE 
TABLE SQL commands.

There is no such thing as “global cache settings” in Ignite.

Stan

From: yangjiajun
Sent: 29 декабря 2018 г. 4:56
To: user@ignite.apache.org
Subject: How to define a cache template?

Hello!

I want to make some cache settings global.It means I need to define a cache
template and then use it,right?But I did not find any docs related to this.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/



Re: How to define a cache template?

2018-12-29 Thread Ilya Kasnacheev
Hello!

It is also ommitted from doc, but you can put an asterisk '*' as the last
char of template name to make sure the cache is not started promptly:

CacheConfiguration cfg = new CacheConfiguration("myCacheTemplate*");


Regards,
-- 
Ilya Kasnacheev


сб, 29 дек. 2018 г. в 04:56, yangjiajun <1371549...@qq.com>:

> Hello!
>
> I want to make some cache settings global.It means I need to define a cache
> template and then use it,right?But I did not find any docs related to this.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Re: How to define a cache template?

2018-12-29 Thread Павлухин Иван
Hi,

Perhaps following docs section can help you [1].

[1] https://apacheignite.readme.io/docs/cache-template

сб, 29 дек. 2018 г. в 04:56, yangjiajun <1371549...@qq.com>:
>
> Hello!
>
> I want to make some cache settings global.It means I need to define a cache
> template and then use it,right?But I did not find any docs related to this.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/



-- 
Best regards,
Ivan Pavlukhin


How to define a cache template?

2018-12-28 Thread yangjiajun
Hello!

I want to make some cache settings global.It means I need to define a cache
template and then use it,right?But I did not find any docs related to this.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/