Class GarbageCollectorFileState
java.lang.Object
org.apache.jackrabbit.oak.plugins.blob.GarbageCollectorFileState
- All Implemented Interfaces:
Closeable
,AutoCloseable
@Deprecated(since="2024-09-23")
public class GarbageCollectorFileState
extends Object
implements Closeable
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.
Class for keeping the file system state of the garbage collection.
Also, manages any temporary files needed as well as external sorting.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Instantiates a new garbage collector file state. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated.Completes the process by deleting the files.Deprecated.Gets the file storing the available references.Deprecated.Gets the storing the garbage.Deprecated.Gets the file storing the gc candidates.Deprecated.Gets the file storing the marked references.
-
Constructor Details
-
GarbageCollectorFileState
Deprecated.Instantiates a new garbage collector file state.- Parameters:
root
- path of the root directory under which the files created during gc are stored- Throws:
IOException
-
-
Method Details
-
getMarkedRefs
Deprecated.Gets the file storing the marked references.- Returns:
- the marked references
-
getAvailableRefs
Deprecated.Gets the file storing the available references.- Returns:
- the available references
-
getGcCandidates
Deprecated.Gets the file storing the gc candidates.- Returns:
- the gc candidates
-
getGarbage
Deprecated.Gets the storing the garbage.- Returns:
- the garbage
-
close
Deprecated.Completes the process by deleting the files.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
- Signals that an I/O exception has occurred.
-