docs: public final Future<JcrRepository> startRepository( final String repositoryName ) throws NoSuchRepositoryException {
          final JcrRepository repository = getRepository(repositoryName);
          if (repository.getState() == State.RUNNING) {
              return ImmediateFuture.create(repository);
          }
  
          // Create an initializer that will start the repository ...
          return repositoryStarterService.submit(() -> {
              // Instantiate (and start) the repository ...
              try {
                  repository.start();
                  return repository;
              } catch (Exception e) {
                  // Something went wrong, so undeploy the repository ...
                  undeploy(repositoryName);
                  throw e;
              }
          });
      }