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.ObjectTracking any active deletions store for managing the blob reference
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDELIM
-
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.voidreconcile(java.io.File recs)Remove ids given by the file in parameter from the deletions being tracked.java.io.Fileretrieve(java.lang.String path)voidtrack(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.IOExceptionAdds 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.IOExceptionRemove 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.IOExceptionReturn 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
-
-