Money v2.12.0 Money.ExchangeRates.Cache.Ets View Source
Money.ExchangeRates.Cache implementation for :ets and :dets
Link to this section Summary
Functions
Returns the exchange rates for a given date
Initialize the cache when the exchange rates retriever is started
Retrieve the latest exchange rates from the cache
Store the historic exchange rates for a given date in the cache
Store the latest exchange rates in the cache
Terminate the cache when the retriver process stops normally
Link to this section Functions
Returns the exchange rates for a given date.
Callback implementation for Money.ExchangeRates.Cache.historic_rates/1
.
Initialize the cache when the exchange rates retriever is started
Callback implementation for Money.ExchangeRates.Cache.init/0
.
Retrieve the latest exchange rates from the cache.
Callback implementation for Money.ExchangeRates.Cache.latest_rates/0
.
Store the historic exchange rates for a given date in the cache.
Callback implementation for Money.ExchangeRates.Cache.store_historic_rates/2
.
Store the latest exchange rates in the cache.
Callback implementation for Money.ExchangeRates.Cache.store_latest_rates/2
.
Terminate the cache when the retriver process stops normally
Callback implementation for Money.ExchangeRates.Cache.terminate/0
.