code: public NodeData initWorkspace() throws RepositoryException
     {
        if (isWorkspaceInitialized())
        {
           return (NodeData)dataManager.getItemData(Constants.ROOT_UUID);
        }
  
        long start = System.currentTimeMillis();
  
        isRestoreInProgress = true;
        try
        {
           doRestore();
        }
        catch (Throwable e) //NOSONAR
        {
           throw new RepositoryException(e);
        }
        finally
        {
           isRestoreInProgress = false;
        }
  
        final NodeData root = (NodeData)dataManager.getItemData(Constants.ROOT_UUID);
  
        LOG.info("Workspace [" + workspaceName + "] restored from storage " + restorePath + " in "
           + (System.currentTimeMillis() - start) * 1d / 1000 + "sec");
  
        return root;
     }
docs: {@inheritDoc}