Class BlobIdTracker.ActiveDeletionTracker

java.lang.Object
org.apache.jackrabbit.oak.plugins.blob.datastore.BlobIdTracker.ActiveDeletionTracker
Enclosing class:
BlobIdTracker

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

  • Method Details

    • 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
    • retrieve

      public File retrieve(String path) throws IOException
      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