Class BlobIdTracker.ActiveDeletionTracker

  • Enclosing class:
    BlobIdTracker

    public static class BlobIdTracker.ActiveDeletionTracker
    extends Object
    Tracking any active deletions store for managing the blob reference
    • Method Detail

      • track

        public void track​(File recs)
                   throws IOException
        Adds the ids in the file provided to the tracked deletions.
        Parameters:
        recs - the deleted ids to track
        Throws:
        IOException
      • reconcile

        public void reconcile​(File recs)
                       throws IOException
        Remove ids given by the file in parameter from the deletions being tracked.
        Parameters:
        recs - the sorted file containing ids to be removed from tracker
        Throws:
        IOException
      • filter

        public Iterator<String> filter​(File recs)
                                throws IOException
        Return any ids not existing in the deletions being tracked from the ids in file parameter.
        Parameters:
        recs - the file to search for ids existing in the deletions here
        Returns:
        Throws:
        IOException