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)

Methods

load   new   store  

Public Class methods

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

Public Instance methods

Note that the fragment must not be connected to other fragments by resolved references unresolve the fragment if necessary

[Validate]