Yes, I know I can set the template in SQL (via JDBC) or REST API. But how
can I set the template on the Java thin client?

Thanks!

On Mon, Jul 8, 2019 at 5:55 AM Ilya Kasnacheev <ilya.kasnach...@gmail.com>
wrote:

> 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 <sduane...@gmail.com>:
>
>> 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 <dma...@apache.org> 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 <sduane...@gmail.com> wrote:
>>>
>>>> I mean ClientCacheConfiguration
>>>>
>>>> On Tue, Jul 2, 2019 at 10:48 AM Shane Duan <sduane...@gmail.com> 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
>>>>>
>>>>

Reply via email to