docs: protected void flushEntityCache() {
      List<CachedDbEntity> cachedEntities = dbEntityCache.getCachedEntities();
      for (CachedDbEntity cachedDbEntity : cachedEntities) {
        flushCachedEntity(cachedDbEntity);
      }
  
      // log cache state after flush
      LOG.flushedCacheState(dbEntityCache.getCachedEntities());
    }