Krug.BaseEctoDAOSqlCacheMnesia (Krug v1.1.45) View Source

Utilitary module to handle resultset cache with mnesia, to improve performance and scalability.

Requires that Krug.DistributedMnesiaSqlCache already be previously started with "DistributedMnesiaSqlCache.init_cluster(...)" or "DistributedMnesiaSqlCache.init_auto_cluster(...)"

Link to this section Summary

Link to this section Functions

Link to this function

clear_cache(ets_key, table_name)

View Source
Link to this function

load_from_cache(ets_key, table_name, normalized_sql, params)

View Source
Link to this function

put_cache(ets_key, table_name, normalized_sql, params, resultset, cache_objects_per_table)

View Source