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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<String>
filter(File recs)
Return any ids not existing in the deletions being tracked from the ids in file parameter.void
reconcile(File recs)
Remove ids given by the file in parameter from the deletions being tracked.File
retrieve(String path)
void
track(File recs)
Adds the ids in the file provided to the tracked deletions.
-
-
-
Field Detail
-
DELIM
public static final String DELIM
- See Also:
- Constant Field Values
-
-
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
-
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
-
-