Files
scylladb/tests
Avi Kivity fb23cd1ff6 Introduce updatable_value
The updateable_value and updateable_value_source classes allow broadcasting
configuration changes across the application. The updateable_value_source class
represents a value that can be updated, and updateable_value tracks its source
and reflects changes. A typical use replaces "uint64_t config_item" with
"updateable_value<uint64_t> config_item", and from now on changes to the source
will be reflected in config_item. For more complicated uses, which must run some
callback when configuration changes, you can also call
config_item.observe(callback) to be actively notified of changes.
2019-06-28 16:43:25 +03:00
..
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2019-02-07 20:18:14 +02:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2019-04-28 15:50:12 +02:00
2019-06-28 16:43:25 +03:00
2019-02-07 20:18:14 +02:00
2019-06-12 13:14:53 +03:00
2019-02-07 20:18:14 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2018-11-21 00:01:44 +02:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00
2019-05-07 10:00:58 +03:00
2019-06-28 16:43:25 +03:00
2019-03-28 14:21:10 +02:00
2019-03-28 14:21:10 +02:00
2019-05-07 10:00:58 +03:00
2018-12-05 21:51:01 +02:00
2019-06-28 16:43:25 +03:00
2019-06-28 16:43:25 +03:00