Class VersionGarbageCollector
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollector
-
public class VersionGarbageCollector extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VersionGarbageCollector.VersionGCInfo
static class
VersionGarbageCollector.VersionGCStats
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
void
collectGarbageOnDocument(DocumentNodeStore store, NodeDocument doc, boolean verbose)
VersionGarbageCollector.VersionGCStats
gc(long maxRevisionAge, TimeUnit unit)
String
getFullGCStatsReport()
VersionGarbageCollector.VersionGCInfo
getInfo(long maxRevisionAge, TimeUnit unit)
VersionGCOptions
getOptions()
String
getStatus()
void
reset()
void
resetDryRun()
void
resetFullGC()
void
setGCMonitor(@NotNull GCMonitor gcMonitor)
void
setOptions(VersionGCOptions options)
void
setStatisticsProvider(StatisticsProvider provider)
-
-
-
Method Detail
-
setStatisticsProvider
public void setStatisticsProvider(StatisticsProvider provider)
-
gc
public VersionGarbageCollector.VersionGCStats gc(long maxRevisionAge, TimeUnit unit) throws IOException
- Throws:
IOException
-
cancel
public void cancel()
-
getStatus
public String getStatus()
-
setGCMonitor
public void setGCMonitor(@NotNull @NotNull GCMonitor gcMonitor)
-
getOptions
public VersionGCOptions getOptions()
-
setOptions
public void setOptions(VersionGCOptions options)
-
reset
public void reset()
-
resetFullGC
public void resetFullGC()
-
resetDryRun
public void resetDryRun()
-
getInfo
public VersionGarbageCollector.VersionGCInfo getInfo(long maxRevisionAge, TimeUnit unit) throws IOException
- Throws:
IOException
-
collectGarbageOnDocument
public void collectGarbageOnDocument(DocumentNodeStore store, NodeDocument doc, boolean verbose)
-
getFullGCStatsReport
public String getFullGCStatsReport()
-
-