docs: public int getCacheIdsSize(boolean filter) {
          if (filter == CacheOnDisk.FILTER) {
              return htod.getCacheIdsSize(filter) - htod.invalidationBuffer.size();
          } else {
              return htod.getCacheIdsSize(filter);
          }
  
      }