Class | RGen::Fragment::DumpFileCache |
In: |
lib/rgen/fragment/dump_file_cache.rb
|
Parent: | Object |
Caches model fragments in Ruby dump files.
Dump files are created per each fragment file.
The main goal is to support fast loading and joining of fragments. Therefore the cache stores additional information which makes the joining process faster (adding to environment, resolving references)
cache_map must be an object responding to load_data and store_data for loading or storing data associated with a file; this can be an instance of Util::FileCacheMap