@Override
  public synchronized void loadIndexes() {
    if (myRegisteredIndexes == null) {
      super.loadIndexes();

      LOG.assertTrue(myRegisteredIndexes == null);
      myStorageBufferingHandler.resetState();
      myRegisteredIndexes = new RegisteredIndexes(myFileDocumentManager, this);
      myShutdownReason = null;

      // capture VFS creation time. It will be used to identify VFS epoch for dirty files queue.
      // at the moment when we write the queue, VFS might have already been disposed via shutdown hook (in the case on emergency shutdown)
      vfsCreationStamp = ManagingFS.getInstance().getCreationTimestamp();
    }
  }
@Override
  public synchronized void loadIndexes()