Class VersionGarbageCollector


  • public class VersionGarbageCollector
    extends Object
    • Field Detail

      • SETTINGS_COLLECTION_ID

        public static final String SETTINGS_COLLECTION_ID
        Document id stored in settings collection that keeps info about version gc
        See Also:
        Constant Field Values
      • SETTINGS_COLLECTION_FULL_GC_REMOVED_TOTAL_BSON_SIZE

        public static final String SETTINGS_COLLECTION_FULL_GC_REMOVED_TOTAL_BSON_SIZE
        Property name to sum the total size of removed garbage in bytes
        See Also:
        Constant Field Values
    • Method Detail

      • getFullGcMode

        public static FullGCMode getFullGcMode()
      • isFullGCEnabled

        public boolean isFullGCEnabled()
      • isFullGCDryRun

        public boolean isFullGCDryRun()
      • isEmbeddedVerificationEnabled

        public boolean isEmbeddedVerificationEnabled()
      • getFullGcDelayFactor

        public double getFullGcDelayFactor()
      • getFullGcMaxAgeInMillis

        public long getFullGcMaxAgeInMillis()
      • getFullGcBatchSize

        public int getFullGcBatchSize()
      • getFullGcProgressSize

        public int getFullGcProgressSize()
      • getFullGCIncludePaths

        public Set<String> getFullGCIncludePaths()
      • getFullGCExcludePaths

        public Set<String> getFullGCExcludePaths()
      • setStatisticsProvider

        public void setStatisticsProvider​(StatisticsProvider provider)
      • setStatisticsProvider

        public void setStatisticsProvider​(StatisticsProvider provider,
                                          boolean pushMetrics)
      • cancel

        public void cancel()
      • getStatus

        public String getStatus()
      • setGCMonitor

        public void setGCMonitor​(@NotNull
                                 @NotNull GCMonitor gcMonitor)
      • reset

        public void reset()
      • resetFullGC

        public void resetFullGC()
      • resetDryRun

        public void resetDryRun()
      • getFullGCStatsReport

        public String getFullGCStatsReport()