Zip Archive Abstraction plus Minor tweaks for factor file generator #2416
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Here's the zip archive abstraction I spoke about. The main entry is through
Archive.OpenRead
andArchive.OpenWrite
and you can pass it an enum value picking which underlying implementation will be used -- figured it may be handy -- factor file generator set up to pull from command line or config if value present. A super awesome thing in here is theArchiveCache
which allows you to 'checkout' a zip instance and 'return' it -- like it's a freakin' library book! This support lockless multi-threaded read scenarios.Related Issue
See #2378
Motivation and Context
These changes are in support of the new factor file generation/supplementation/projection application.
Requires Documentation Change
No.
How Has This Been Tested?
Probably not well enough, really need to see days tick by w/ the ticker plant properly emitting non-finalized events.
Types of changes
Checklist:
bug-<issue#>-<description
orfeature-<issue#>-<description>