Hello!

Unfortunately it doesn't seem to be possible, so you will have to resort to
other means to create such caches.

You can submit a feature request to our JIRA.

Regards,
-- 
Ilya Kasnacheev


вт, 9 июл. 2019 г. в 07:46, Shane Duan <[email protected]>:

> 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 <[email protected]>
> 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 <[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
>>>>>>
>>>>>

Reply via email to