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:
grahamtriggs 2015-10-03 08:44:26 +01:00
parent 615a531de4
commit 7fbaf1cadc
5 changed files with 97 additions and 93 deletions

View file

@ -31,11 +31,6 @@ public class SearchIndexerStub implements SearchIndexer {
paused = true;
}
@Override
public void pauseInAnticipationOfRebuild() {
paused = true;
}
@Override
public void unpause() {
paused = false;