intelligentplant / AppStoreConnect.Adapters

Allows Intelligent Plant App Store Connect to query 3rd party systems
https://appstore.intelligentplant.com
MIT License
0 stars 0 forks source link

Check for existing key and add FASTER size tracking metrics #367

Closed wazzamatazz closed 10 months ago

wazzamatazz commented 10 months ago

This PR adds a new IKeyValueStore.ExistsAsync method that checks if a given key exists in the store. BulkCopyToAsync and BulkCopyFromAsync extension methods for IKeyValueStore now include an overwrite parameter that controls the behaviour when copying if a destination key already exists.

The PR also updates the FASTER key/value store to track the memory footprint of the store (i.e. the index, in-memory log portion and read cache for the underlying FASTER store). This information is made available via metric instruments.