public synchronized boolean isDone() {
      return pendingTasks.size() == 0;
    }
Used by tests to determine if the updater thread has finished updating its indexes. The list
is cleared without synchronization, which makes this methods somewhat unsafe from a threading
point of view.
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/IndexManager.java