Files
scylladb/utils
Vlad Zolotarov fa2f8162a5 utils::loading_cache: add the ability to create a cache that would not reload the values
Sometimes we don't want the cached values to be periodically reloaded.
This patch adds the ability to control this using a ReloadEnabled template parameter.

In case the reloading is not needed the "loading" function is not given to the constructor
but rather to the get_ptr(key, loader) method (currently it's the only method that is used, we may add
the corresponding get(key, loader) method in the future when needed).

Signed-off-by: Vlad Zolotarov <vladz@scylladb.com>
2017-09-15 20:53:11 -04:00
..
2016-06-20 21:29:51 +01:00
2016-12-05 11:48:29 +02:00
2017-04-17 23:03:15 +03:00
2017-05-17 12:30:03 +03:00
2015-12-08 19:31:40 +01:00
2017-02-01 14:39:08 +02:00
2016-09-28 17:34:16 +03:00
2016-04-08 08:12:47 +03:00
2017-03-02 09:05:10 +00:00
2016-04-08 08:12:47 +03:00
2017-08-27 15:16:21 +03:00