docs: public Map<String, State> getRepositories() {
          checkRunning();
          Map<String, State> results = new HashMap<String, State>();
          final Lock lock = this.lock.readLock();
          try {
              lock.lock();
              for (JcrRepository repository : repositories.values()) {
                  results.put(repository.getName(), repository.getState());
              }
          } finally {
              lock.unlock();
          }
          return Collections.unmodifiableMap(results);
      }