Klaus Basan
144ba62572
refs #601 , #600 , #485 Status message handling.
...
* follow up of debug session, added failure/success to status message
* return status messages instead of directly logging in functions returning CStatusMessage.
* Ignore empty preformatted messages.
* new log category
2016-03-17 19:45:04 +00:00
Mathew Sutcliffe
f490504f52
refs #601 , #600 Fixed mistake in CValueCache::saveToFiles.
2016-03-07 17:04:41 +00:00
Klaus Basan
83082d3f63
refs #601 , #600 Fixed inverted conditions in CValueCache and CSettingsCache.
2016-03-03 22:32:19 +00:00
Roland Winklmeier
1ea2f34f75
Fix doxygen documentation in src, samples and tests
...
refs #594
2016-02-16 20:01:33 +01:00
Roland Winklmeier
141efdbf43
Fix missing dbus type registration in CValueCachePacket
2016-02-12 21:13:39 +01:00
Mathew Sutcliffe
3175e640bb
refs #581 , #592 , #545 CAtomicFile can support ReadWrite mode by first copying the file.
2016-02-06 19:45:51 +00:00
Mathew Sutcliffe
5a0db69415
refs #581 Bugfix: timestamps of uninitialized cache values should be zero.
2016-02-06 19:45:49 +00:00
Mathew Sutcliffe
bc2e0faa36
refs #581 CValueCachePacket contains an inhibitions list that can be used to disable specific notification slots.
2016-02-06 19:45:47 +00:00
Mathew Sutcliffe
e1b40f54cb
refs #581 Allow setting the timestamp when putting a value in the cache.
2016-02-06 19:45:45 +00:00
Mathew Sutcliffe
97fad301ae
refs #581 Use JSON to store timestamps in data cache revision file.
2016-02-06 19:45:45 +00:00
Mathew Sutcliffe
f9de444a53
refs #545 CAtomicFile used in CValueCache to avoid corruption in case serialization is interrupted.
2016-01-27 23:37:48 +00:00
Mathew Sutcliffe
956d393bb1
refs #545 CSetting<T>::setAndSave to set and save a setting in one step.
2016-01-27 23:37:46 +00:00
Mathew Sutcliffe
d9167cf226
refs #545 CCached allows to query whether a value is saved or not.
2016-01-27 23:37:45 +00:00
Mathew Sutcliffe
2c0b4f9555
refs #545 CValueCache keeps track of which values have been saved.
2016-01-27 23:37:44 +00:00
Mathew Sutcliffe
757710797e
refs #545 Refactoring: extract method elementsStartingWith.
2016-01-27 23:37:43 +00:00
Mathew Sutcliffe
366030f2a9
refs #536 Moved CDataCache serialization into a worker thread.
2015-12-08 21:16:26 +00:00
Mathew Sutcliffe
e266ccefad
CValueCache::saveToFiles doesn't need to lock the mutex.
2015-12-08 21:16:25 +00:00
Klaus Basan
d6733d49bb
refs #522 , mutex for mutable members (thread safe)
...
* copy/assignment/lock for mutable members
* also removed redundant in status message (slack discussion MS/KB)
2015-11-26 13:54:47 +01:00
Klaus Basan
4d4d6fcdc9
Fixed value cache registerMetadata
...
(MS/KB slack)
2015-11-19 21:07:55 +00:00
Mathew Sutcliffe
0ca4797bcf
refs #494 Get the filename used for serializing a specific cached value, or list of all files used by whole cache.
2015-11-19 21:05:44 +00:00
Mathew Sutcliffe
8a3cb5f661
refs #494 Ability to "delete" all values in cache.
2015-11-19 21:05:41 +00:00
Mathew Sutcliffe
966eed9044
refs #494 Using CValueCachePacket, cache values are given timestamps.
2015-11-19 21:05:38 +00:00
Mathew Sutcliffe
eb11b69c6d
refs #494 Value class CValueCachePacket is a packet of cache value changes with timestamps.
2015-11-19 21:05:35 +00:00
Mathew Sutcliffe
a284de3acb
refs #494 Style.
2015-11-19 21:05:32 +00:00
Mathew Sutcliffe
21d61e1def
refs #495 Using LockFree to make CCached::get() threadsafe.
2015-11-19 21:05:24 +00:00
Klaus Basan
b2d38d24e6
refs #452 Post merge: Fixed includes - without those compilation did not work at my (KB) place
2015-11-19 21:00:07 +00:00
Mathew Sutcliffe
6601393df8
refs #460 CDataCache for dynamic (downloaded/generated) data with file-based distribution among processes.
2015-11-19 20:58:26 +00:00
Mathew Sutcliffe
54bc3f265a
refs #450 Added disk file saving and loading of CValueCache.
2015-11-19 20:58:10 +00:00
Mathew Sutcliffe
ca9256be82
refs #450 Corrected emission of log messages from value cache validation.
2015-11-19 20:58:09 +00:00
Mathew Sutcliffe
31c081c14d
refs #297 Added the kernel of the distributed value cache system.
2015-11-19 20:51:25 +00:00