Class BlobIdTracker
java.lang.Object
org.apache.jackrabbit.oak.plugins.blob.datastore.BlobIdTracker
- All Implemented Interfaces:
Closeable,AutoCloseable,BlobTracker
@Deprecated(since="2024-09-23")
public class BlobIdTracker
extends Object
implements Closeable, BlobTracker
Deprecated.
The Jackrabbit Oak Blob Plugins library is designed for Oak-internal use only and thus deprecated. It will not be part of the AEM SDK after April 2025.
Tracks the blob ids available or added in the blob store using the
BlobIdTracker.BlobIdStore .-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.The Jackrabbit Oak Blob Plugins library is designed for Oak-internal use only and thus deprecated.Nested classes/interfaces inherited from interface org.apache.jackrabbit.oak.plugins.blob.datastore.BlobTracker
BlobTracker.Options -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Adds the ids in the given file.voidDeprecated.Adds the given id.voidDeprecated.Adds the given ids.static BlobIdTrackerbuild(String path, String repositoryId, long snapshotIntervalSecs, SharedDataStore datastore) Deprecated.voidclose()Deprecated.Closes the tracker and the underlying store.get()Deprecated.Retrieves all the reference files available in the DataStore and merges them to the local store and then returns an iterator over it.Deprecated.Fetches a File object which having all the sorted records.Deprecated.voidDeprecated.Remove the ids in the given file and deletes the file.voidremove(File recs, BlobTracker.Options options) Deprecated.Remove the ids in the given file and deletes the file.voidDeprecated.Remove the given ids.
-
Method Details
-
getDeleteTracker
Deprecated. -
remove
Deprecated.Description copied from interface:BlobTrackerRemove the ids in the given file and deletes the file.- Specified by:
removein interfaceBlobTracker- Parameters:
recs-- Throws:
IOException
-
remove
Deprecated.Description copied from interface:BlobTrackerRemove the ids in the given file and deletes the file.- Specified by:
removein interfaceBlobTracker- Parameters:
recs-- Throws:
IOException
-
remove
Deprecated.Description copied from interface:BlobTrackerRemove the given ids.- Specified by:
removein interfaceBlobTracker- Parameters:
recs-- Throws:
IOException
-
add
Deprecated.Description copied from interface:BlobTrackerAdds the given id.- Specified by:
addin interfaceBlobTracker- Parameters:
id- the record id to be tracked- Throws:
IOException
-
add
Deprecated.Description copied from interface:BlobTrackerAdds the given ids.- Specified by:
addin interfaceBlobTracker- Parameters:
recs-- Throws:
IOException
-
add
Deprecated.Description copied from interface:BlobTrackerAdds the ids in the given file.- Specified by:
addin interfaceBlobTracker- Parameters:
recs-- Throws:
IOException
-
get
Deprecated.Retrieves all the reference files available in the DataStore and merges them to the local store and then returns an iterator over it. This way the ids returned are as recent as the snapshots taken on all instances/repositories connected to the DataStore.The iterator returned ia a Closeable instance and should be closed by calling #close().
- Specified by:
getin interfaceBlobTracker- Returns:
- iterator over all the blob ids available
- Throws:
IOException
-
get
Deprecated.Description copied from interface:BlobTrackerFetches a File object which having all the sorted records. The lifecycle of the returnedFilehandle is the responsibility of the handler.- Specified by:
getin interfaceBlobTracker- Returns:
- Throws:
IOException
-
close
Deprecated.Closes the tracker and the underlying store.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException