Hello! Yes, you can declare cache configuration templates, refer to them when creating tables from thin client/JDBC, as per documentation: https://apacheignite.readme.io/docs/cache-template
Regards, -- Ilya Kasnacheev пт, 5 июл. 2019 г. в 21:22, Shane Duan <[email protected]>: > Thanks, Denis. Alternatively, does ignite thin client provide a way to use > a server side pre-defined cache configurations, just like the TEMPLATE in > the CREATE TABLE statement in SQL? > > Thanks, > Shane > > On Wed, Jul 3, 2019 at 2:41 PM Denis Magda <[email protected]> wrote: > >> Shane, >> >> That's unavailable on the thing clients end yet. My suggestion is to >> configure caches with required expiration policies on the servers' >> configuration end. >> >> - >> Denis >> >> >> On Tue, Jul 2, 2019 at 10:54 AM Shane Duan <[email protected]> wrote: >> >>> I mean ClientCacheConfiguration >>> >>> On Tue, Jul 2, 2019 at 10:48 AM Shane Duan <[email protected]> wrote: >>> >>>> Hi Igniters, >>>> >>>> How can I set expiry policies if I have to create cache using Java Thin >>>> client. I did not see any API to do so in ClientConfiguration. >>>> >>>> Thanks, >>>> Shane >>>> >>>
