Files
scylladb/utils
Vlad Zolotarov 7ba50b87f1 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>
2018-02-02 12:35:25 -05: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
2017-02-01 14:39:08 +02:00
2016-09-28 17:34:16 +03:00
2017-03-02 09:05:10 +00:00