Class GarbageCollection
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.tree.store.GarbageCollection
-
public class GarbageCollection extends Object
Remove unreferenced files from the store. Only root files and inner nodes are read. This is possible because leaf pages do not have references to other files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGarbageCollection.GarbageCollectionResultGarbage collection results.
-
Constructor Summary
Constructors Constructor Description GarbageCollection(Store store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GarbageCollection.GarbageCollectionResultrun(List<String> rootFiles)Run garbage collection.
-
-
-
Constructor Detail
-
GarbageCollection
public GarbageCollection(Store store)
-
-
Method Detail
-
run
public GarbageCollection.GarbageCollectionResult run(List<String> rootFiles)
Run garbage collection.- Parameters:
rootFiles-- Returns:
- the result
-
-