Class LuceneIndexSnapshotCleaner

  • All Implemented Interfaces:
    com.atlassian.scheduler.JobRunner

    public class LuceneIndexSnapshotCleaner
    extends Object
    implements com.atlassian.scheduler.JobRunner
    Make sure number of snapshots created for each index does not exceed certain limits. By default Confluence allows 3 snapshots per index. This limit however can be controlled using a sysprop: index.snapshot.retain.count
    Since:
    7.6.0
    • Method Detail

      • runJob

        public @Nullable com.atlassian.scheduler.JobRunnerResponse runJob​(com.atlassian.scheduler.JobRunnerRequest jobRunnerRequest)
        Specified by:
        runJob in interface com.atlassian.scheduler.JobRunner