Class BlobIdTracker.ActiveDeletionTracker
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.blob.datastore.BlobIdTracker.ActiveDeletionTracker
-
- Enclosing class:
- BlobIdTracker
public static class BlobIdTracker.ActiveDeletionTracker extends java.lang.Object
Tracking any active deletions store for managing the blob reference
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DELIM
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<java.lang.String>
filter(java.io.File recs)
Return any ids not existing in the deletions being tracked from the ids in file parameter.void
reconcile(java.io.File recs)
Remove ids given by the file in parameter from the deletions being tracked.java.io.File
retrieve(java.lang.String path)
void
track(java.io.File recs)
Adds the ids in the file provided to the tracked deletions.
-
-
-
Field Detail
-
DELIM
public static final java.lang.String DELIM
- See Also:
- Constant Field Values
-
-
Method Detail
-
track
public void track(java.io.File recs) throws java.io.IOException
Adds the ids in the file provided to the tracked deletions.- Parameters:
recs
- the deleted ids to track- Throws:
java.io.IOException
-
retrieve
public java.io.File retrieve(java.lang.String path) throws java.io.IOException
- Throws:
java.io.IOException
-
reconcile
public void reconcile(java.io.File recs) throws java.io.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:
java.io.IOException
-
filter
public java.util.Iterator<java.lang.String> filter(java.io.File recs) throws java.io.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:
java.io.IOException
-
-