Pause counting to avoid problems of overlapping pause / unpauses, add event to notify of the intention to rebuild the index, so that overhead of tracking unnecessary indexing can be reduced
This commit is contained in:
parent
615a531de4
commit
7fbaf1cadc
5 changed files with 97 additions and 93 deletions
|
@ -31,11 +31,6 @@ public class SearchIndexerStub implements SearchIndexer {
|
|||
paused = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void pauseInAnticipationOfRebuild() {
|
||||
paused = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void unpause() {
|
||||
paused = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue