Krug.BaseEctoDAOSqlCacheMnesia (Krug v2.0.27) 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