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

Claude Warren commented on COLLECTIONS-852:
-------------------------------------------

Opened  [https://github.com/apache/commons-collections/pull/476] to address 
this issue

> LayeredBloomFilter needs a way to call clean without adding a new layer
> -----------------------------------------------------------------------
>
>                 Key: COLLECTIONS-852
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-852
>             Project: Commons Collections
>          Issue Type: Improvement
>    Affects Versions: 4.5.0-M1
>            Reporter: Claude Warren
>            Assignee: Claude Warren
>            Priority: Major
>
> Currently the LayeredBloomFilter has no mechanism to clean the filter without 
> adding something.  
> The only path to clean is to call next() adding a new layer or to add a 
> filter which changes the state of the last layer.  In some cases it is 
> necessary to simply removed expired layers without changing the state of 
> existing layers.
> This proposal is to add a clean() method to the LayeredBloomFilter that will 
> cause the filterCleanup consumer on the LayerManager to execute thus removing 
> any expired layers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to