mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
Ref T28, consolidated reading
* fixed newer parameter * unified handling of incremental updates * skip cache update when there was no incremental data
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c0320609b3
commit
9f4f06a436
@@ -227,12 +227,6 @@ namespace BlackCore
|
||||
//! Log categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
|
||||
//! Name of latest timestamp
|
||||
static const QString ¶meterLatestTimestamp();
|
||||
|
||||
//! Name of parameter for latest id
|
||||
static const QString ¶meterLatestId();
|
||||
|
||||
//! swift DB server reachable?
|
||||
static bool canPingSwiftServer();
|
||||
|
||||
@@ -300,6 +294,19 @@ namespace BlackCore
|
||||
//! File name for given mode, either php service or shared file name
|
||||
static QString fileNameForMode(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Db::CDbFlags::DataRetrievalModeFlag mode);
|
||||
|
||||
//! Name of latest timestamp
|
||||
static const QString ¶meterLatestTimestamp();
|
||||
|
||||
//! Name of parameter for latest id
|
||||
static const QString ¶meterLatestId();
|
||||
|
||||
//! A newer than value understood by swift DB
|
||||
//! \sa CDatabaseReader::parameterLatestTimestamp
|
||||
static QString dateTimeToDbLatestTs(const QDateTime &ts);
|
||||
|
||||
//! Latest timestamp query for DB
|
||||
static QString queryLatestTimestamp(const QDateTime &ts);
|
||||
|
||||
//! \name Cache access
|
||||
//! @{
|
||||
//! Synchronize caches for given entities
|
||||
|
||||
Reference in New Issue
Block a user