public void force() {
    synchronized (myNameEnumerator) {
      if (!myNameEnumerator.isClosed()) {
        myNameEnumerator.force();
      }
    }
    synchronized (myFilePathEnumerator) {
      if (!myFilePathEnumerator.isClosed()) {
        myFilePathEnumerator.force();
      }
    }

    for (InvertedIndex<?, ?, Input> index : myIndices.values()) {
      try {
        index.flush();
      }
      catch (StorageException e) {
        LOG.error(e);
      }
    }
  }
public void force()