This enum contains the possible file caching modes supported by pdg.Processor nodes.
Values ¶
pdg.cacheMode.Automatic
Work items will cook from cache files if they're found on disk, or cook normally if the cache files are missing. If a work item writes a new file, it also invalidates all caches of any downstream work items.
pdg.cacheMode.AutomaticIgnore
The same as Automatic
, except that file writes from upstream work items do not invalidate cache files.
pdg.cacheMode.AlwaysRead
Work items will always try to read files from disk. If the files are missing, the work item will be marked as failed.
pdg.cacheMode.AlwaysWrite
Work items will always write files to disk, even if there are existing, valid cache files.