public void flush() throws StorageException {
    if (!myInitialized) {
      return;
    }
    for (UpdatableIndex<?, Void, FileContent, ?> index : getAsyncState().myIndices.values()) {
      index.flush();
    }
  }
public void flush()