code: public CleanCloseable disableAggressiveCaching(String databaseName) {
          assertInitialized();
          RequestExecutor re = getRequestExecutor(ObjectUtils.firstNonNull(databaseName, getDatabase()));
          AggressiveCacheOptions old = re.aggressiveCaching.get();
          re.aggressiveCaching.set(null);
  
          return () -> re.aggressiveCaching.set(old);
      }
docs: Setup the context for no aggressive caching
  <p>
  This is mainly useful for internal use inside RavenDB, when we are executing
  queries that have been marked with WaitForNonStaleResults, we temporarily disable
  aggressive caching.