public boolean clearMemoryMap() {
    boolean modified = !myMap.isEmpty();
    myMap.clear();
    if (modified && FileBasedIndexEx.doTraceStubUpdates(myIndexId)) {
      LOG.info("clearMemoryMap,index=" + myIndexId);
    }
    return modified;
  }
public boolean clearMemoryMap()