ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tolga Kavukcu <kavukcu.to...@gmail.com>
Subject Re: Eager TTL and query
Date Tue, 04 Apr 2017 07:39:14 GMT
Thanks Nikolai.

On Mon, Apr 3, 2017 at 7:05 PM, Nikolai Tikhonov <ntikhonov@apache.org>
wrote:

> Hi,
>
> "When entry accessed" is mind that entry will be involved by IgniteCache
> API (put/get/invoke and etc). In during operation ttl will be checked.
>
> Ignite SQL doesn't update ttl and entry won't be removed.
>
>
> On Mon, Apr 3, 2017 at 4:28 PM, Tolga Kavukcu <kavukcu.tolga@gmail.com>
> wrote:
>
>> Hi Everyone,
>>
>> I have a question about cache ttl. I understand that when eager ttl is
>> set to true for a cache, a thread created and expired entries are cleaned
>> but this can cause some heap usage.
>>
>> Otherwise i can set eager ttl to false, when entry accessed ignite checks
>> if entry expired or not it is very much clear.
>>
>>
>> I wonder the terminology "When entry accessed" covers running query over
>> cache. Let's say i didnt call any put or get, but i queried entire cache.
>> Will expired entries will be removed during cache query execution ?
>>
>> Regards.
>>
>> --
>>
>> *Tolga KAVUKÇU*
>>
>
>


-- 

*Tolga KAVUKÇU*

Mime
View raw message