Class AncestorsRepairer
- java.lang.Object
-
- com.atlassian.confluence.pages.ancestors.AncestorsRepairer
-
public class AncestorsRepairer extends Object
This ancestors repairer checks page trees and finds pages with broken ancestors Then it sends this information to PageRepairWorker, which fixes pages in small separated transactions- Since:
- 6.14.0
-
-
Constructor Summary
Constructors Constructor Description AncestorsRepairer(SpaceManager spaceManager, AncestorsDao ancestorsDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
repairAncestors()
It goes through all spaces, gets top level pages and then uses DFS algorithm for scanning all trees It reads data in batches and does not use recursion
-
-
-
Constructor Detail
-
AncestorsRepairer
public AncestorsRepairer(SpaceManager spaceManager, AncestorsDao ancestorsDao)
-
-
Method Detail
-
destroy
@PreDestroy public void destroy()
-
repairAncestors
public void repairAncestors() throws InterruptedException, ExecutionException
It goes through all spaces, gets top level pages and then uses DFS algorithm for scanning all trees It reads data in batches and does not use recursion
-
-