Uses of Class
org.apache.jackrabbit.oak.plugins.document.VersionGCOptions
-
Packages that use VersionGCOptions Package Description org.apache.jackrabbit.oak.plugins.document -
-
Uses of VersionGCOptions in org.apache.jackrabbit.oak.plugins.document
Methods in org.apache.jackrabbit.oak.plugins.document that return VersionGCOptions Modifier and Type Method Description VersionGCOptionsVersionGarbageCollector. getOptions()VersionGCOptionsVersionGCOptions. withCollectLimit(long limit)Sets the absolute limit on number of resource ids collected in one run.VersionGCOptionsVersionGCOptions. withDelayFactor(double f)Set a delay factor between batched database modifications.VersionGCOptionsVersionGCOptions. withMaxDuration(java.util.concurrent.TimeUnit unit, long t)Set the maximum duration in elapsed time that the garbage collection shall take.VersionGCOptionsVersionGCOptions. withMaxIterations(int max)Set the maximum number of iterations that shall be attempted in a single run.VersionGCOptionsVersionGCOptions. withOverflowToDiskThreshold(int overflowToDiskThreshold)Set the limit of number of resource id+_modified strings (not length) held in memory during a collection run.VersionGCOptionsVersionGCOptions. withPrecisionMs(java.util.concurrent.TimeUnit unit, long t)Set the minimum duration that is used for time based searches.Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type VersionGCOptions Modifier and Type Method Description voidVersionGarbageCollector. setOptions(VersionGCOptions options)Constructors in org.apache.jackrabbit.oak.plugins.document with parameters of type VersionGCOptions Constructor Description VersionGCRecommendations(long maxRevisionAgeMs, org.apache.jackrabbit.oak.plugins.document.Checkpoints checkpoints, org.apache.jackrabbit.oak.stats.Clock clock, VersionGCSupport vgc, VersionGCOptions options, org.apache.jackrabbit.oak.spi.gc.GCMonitor gcMonitor)With the given maximum age of revisions to keep (earliest time in the past to collect), the desired precision in which times shall be sliced and the given limit on the number of collected documents in one run, calculate if gc shall run at all (ignoreDueToCheckPoint) in which time interval documents shall be collected (scope) if collection should fail if it reaches maxCollect documents, maxCollect will specify the limit or be 0 if no limit shall be enforced. After a run, recommendations evaluate the result of the gc to update its persisted recommendations for future runs.
-