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 VersionGCOptions
VersionGarbageCollector. getOptions()
VersionGCOptions
VersionGCOptions. withCollectLimit(long limit)
Sets the absolute limit on number of resource ids collected in one run.VersionGCOptions
VersionGCOptions. withDelayFactor(double f)
Set a delay factor between batched database modifications.VersionGCOptions
VersionGCOptions. withMaxDuration(java.util.concurrent.TimeUnit unit, long t)
Set the maximum duration in elapsed time that the garbage collection shall take.VersionGCOptions
VersionGCOptions. withMaxIterations(int max)
Set the maximum number of iterations that shall be attempted in a single run.VersionGCOptions
VersionGCOptions. withOverflowToDiskThreshold(int overflowToDiskThreshold)
Set the limit of number of resource id+_modified strings (not length) held in memory during a collection run.VersionGCOptions
VersionGCOptions. 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 void
VersionGarbageCollector. 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, Clock clock, VersionGCSupport vgc, VersionGCOptions options, 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.
-