refs #649, skip reading of info objects if only caches are used and emit signals when syncronized from cache

(applied after 1st performance fix for cache was ready)
* utility functions to detect if only caches are used
* renamed some functions
* renamed some db flags and added new ones
This commit is contained in:
Klaus Basan
2016-06-05 15:52:44 +02:00
parent c31145b3a0
commit f02bf0ac0a
16 changed files with 159 additions and 89 deletions

View File

@@ -56,6 +56,9 @@ namespace BlackCore
//! Timeout
void setCacheLifetime(const BlackMisc::PhysicalQuantities::CTime &time);
//! Will read from swift DB
bool possiblyReadsFromSwiftDb() const;
//! Fully initialized
bool isValid() const;
@@ -91,6 +94,9 @@ namespace BlackCore
//! Update lifetimes
void setCacheLifetimes(const BlackMisc::PhysicalQuantities::CTime &time);
//! Will read from swift DB
bool possiblyReadsFromSwiftDb() const;
//! Init for mapping tool
static CDatabaseReaderConfigList forMappingTool();