wrap the mmap actions in the CacheGenerator in their own methods to