Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-852

LayeredBloomFilter needs a way to call clean without adding a new layer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.5.0-M1
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            claude Claude Warren
            claude Claude Warren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: