Closed unruledboy closed 7 years ago
The LocalCache class does not use pile to store it's key buckets. You get your mmf pile back with data but not the keys. The MMF-backed cache is not a part of oss yet, what you can do for now - reload the keys back to local cache by enumerating through them using pile, but it will be slow depending on the number of object that you store. OR you can save all of the cache keys separately and load them up on startup which is also not automatic.
Hi,
I used the sample code from your files : https://github.com/aumcode/nfx/blob/master/Source/Testing/Manual/WinFormsTest/PileForm.cs#L77-L84 and https://github.com/aumcode/nfx/tree/master/Source/NFX/ApplicationModel/Pile
I can add records to the MMF cache, but I couldn't find a way to get the data back, either with tA.Get(key) or tA.AsEnumerable(withValues: true).