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

Takahito Kikuchi commented on JCR-3833:
---------------------------------------

[[email protected]], sorry, I am not sure how {{counter}} will be implemented.

{{LRUCache}} extends {{LinkedHashMap}}, which has the order in which keys were 
inserted. So, even if next key is removed after skip the iterator, the order 
will be kept. Then {{PurgeJob}} will try to remove the key which returned 
{{null}} soon. If the concern can be solved by {{counter}} you mentioned, could 
you please show the sample code? It would be helpful.

> Compatibility with Java 8
> -------------------------
>
>                 Key: JCR-3833
>                 URL: https://issues.apache.org/jira/browse/JCR-3833
>             Project: Jackrabbit Content Repository
>          Issue Type: Task
>            Reporter: Unico Hommes
>            Assignee: Unico Hommes
>             Fix For: 2.9.1, 2.8.1
>
>




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

Reply via email to