docs: protected Collection<JcrRepository> repositories() {
          if (this.state == State.RUNNING) {
              final Lock lock = this.lock.readLock();
              try {
                  lock.lock();
                  return new ArrayList<JcrRepository>(repositories.values());
              } finally {
                  lock.unlock();
              }
          }
          return Collections.emptyList();
      }