code: public Set<MongoNamespace> getSynchronizedNamespaces() {
      instanceLock.readLock().lock();
      try {
        return new HashSet<>(namespaces.keySet());
      } finally {
        instanceLock.readLock().unlock();
      }
    }
docs: Returns the set of synchronized namespaces.
  
  @return the set of synchronized namespaces.