Class VersionGCRecommendations

java.lang.Object
org.apache.jackrabbit.oak.plugins.document.VersionGCRecommendations

public class VersionGCRecommendations extends Object
Gives a recommendation about parameters for the next revision garbage collection run.
  • Method Details

    • evaluate

      public void evaluate(VersionGarbageCollector.VersionGCStats stats)
      Evaluate the results of the last run. Update recommendations for future runs. Will set VersionGarbageCollector.VersionGCStats.needRepeat if collection needs to run another iteration for collecting documents up to "now".
      Parameters:
      stats - the statistics from the last run