Claude Warren created COLLECTIONS-852:
-----------------------------------------

             Summary: 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


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