public class AncestorsRepairer extends Object
Constructor and Description |
---|
AncestorsRepairer(SpaceManager spaceManager,
AncestorsDao ancestorsDao) |
Modifier and Type | Method and 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
|
public AncestorsRepairer(SpaceManager spaceManager, AncestorsDao ancestorsDao)
@PreDestroy public void destroy()
public void repairAncestors() throws InterruptedException, ExecutionException
Copyright © 2003–2021 Atlassian. All rights reserved.