Klaus Basan
4b11eb3f83
refs #648 , refs #640 review of MS
...
https://dev.vatsim-germany.org/issues/648#note-5
2016-05-07 20:11:54 +02:00
Klaus Basan
bb6eea6c72
refs #641 , using order in model caches
2016-05-05 20:49:24 +02:00
Mathew Sutcliffe
a492189874
refs #653 Rephrase "uninitialized value" message.
2016-05-05 15:25:07 +01:00
Mathew Sutcliffe
f4eadddee7
refs #644 Add method CCached::save, like setAndSave but using the currently set value.
...
Implemented with a flag in CValueCachePacket to indicate a request to save only.
2016-04-27 19:39:49 +01:00
Klaus Basan
353d96514e
refs #618 , return "good" message for cache setting and added validation log categoriess
2016-03-30 18:22:14 +02:00
Mathew Sutcliffe
b33781717e
refs #624 Remove noexcept from destructors, which are implicitly noexcept.
2016-03-19 21:07:56 +00:00
Klaus Basan
c3722f9198
refs #485 , refs #584 removed include blackmiscfreefunctions.h
2016-03-18 01:07:49 +00:00
Mathew Sutcliffe
c6a038aaa8
refs #601 Simplify syncLoad and rename to synchronize.
...
Now it doesn't return anything, it just causes the next async get() to be synchronized with the latest loaded value.
It does this by hooking into the queue introduced in the previous commit.
2016-03-18 01:07:38 +00:00
Mathew Sutcliffe
899d94ca74
refs #601 Refactor signal/slot connections from CValuePage constructor into virtual method of CValueCache
...
so that derived classes can override the behaviour.
2016-03-18 01:07:27 +00:00
Mathew Sutcliffe
f680cee8ed
refs #601 Slot inhibitor no longer needed, this reverts commit:bc2e0faa.
2016-03-18 01:07:24 +00:00
Mathew Sutcliffe
a47a2681bd
refs #601 Fixed thread safety of get() by adding getCopy().
2016-03-17 19:45:15 +00:00
Klaus Basan
a6840f12a1
refs #601 , #600 CValuePage::getPageFor finds direct children only.
...
Fixes assert "can't have two CCached in the same object referring to the same value".
2016-03-17 19:45:09 +00:00
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