[ 
https://issues.apache.org/jira/browse/IGNITE-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14491842#comment-14491842
 ] 

Dmitriy Setrakyan commented on IGNITE-728:
------------------------------------------

Perhaps it makes sense to optionally specify the max-size as well.

> Need to reimplement CREATE-TIME-TTL as eviction policy
> ------------------------------------------------------
>
>                 Key: IGNITE-728
>                 URL: https://issues.apache.org/jira/browse/IGNITE-728
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: cache, streaming
>            Reporter: Dmitriy Setrakyan
>            Assignee: Yakov Zhdanov
>            Priority: Blocker
>             Fix For: sprint-4
>
>
> # We should treat eviction queue as a collection of fix-sized buckets. 
> # Each bucket can be a list of entries.
> # Each bucket should keep a timestamp of when that bucket was crated.
> Whenever (currentTime - bucketCreateTime) > TTL, all the entries in the 
> bucket get evicted. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to