Class LuceneIndexSnapshotCleaner
- java.lang.Object
-
- com.atlassian.confluence.internal.index.lucene.snapshot.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
-
-
Constructor Summary
Constructors Constructor Description LuceneIndexSnapshotCleaner(LuceneIndexSnapshotManager snapshotManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable com.atlassian.scheduler.JobRunnerResponse
runJob(com.atlassian.scheduler.JobRunnerRequest jobRunnerRequest)
-
-
-
Constructor Detail
-
LuceneIndexSnapshotCleaner
public LuceneIndexSnapshotCleaner(LuceneIndexSnapshotManager snapshotManager)
-
-