View Source Unleash.Cache (Unleash v1.12.5)
This module is a cache backed by an ETS table. We use it to allow for multiple threads to read the feature flag values concurrently on top of minimizing network calls
Summary
Functions
Will return all values currently stored in the cache
Will return the feature for the given name stored in the cache
Will return all features stored in the cache
Will create a new ETS table named :unleash_cache
Will upsert (create or update) the given features in the cache
Functions
Will return all values currently stored in the cache
Will return the feature for the given name stored in the cache
Will return all features stored in the cache
Will create a new ETS table named :unleash_cache
Will upsert (create or update) the given features in the cache
This will clear the existing peristed features to prevent stale reads