mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 16:18:44 +05:00
Stats StoredSQ -> SQStoredMetrics
This commit is contained in:
@@ -110,8 +110,12 @@ type DataDB interface {
|
||||
GetReqFilterIndexes(dbKey string) (indexes map[string]map[string]utils.StringMap, err error)
|
||||
SetReqFilterIndexes(dbKey string, indexes map[string]map[string]utils.StringMap) (err error)
|
||||
MatchReqFilterIndex(dbKey, fieldValKey string) (itemIDs utils.StringMap, err error)
|
||||
SetStoredSQ(ssq *StoredSQ) (err error) // stores StatsQueue
|
||||
GetStoredSQ(sqID string) (ssq *StoredSQ, err error)
|
||||
//GetStatsQueue(sqID string) (sq *StatsQueue, err error)
|
||||
//SetStatsQueue(sq *StatsQueue) (err error)
|
||||
//RemStatsQueue(sqID string) (err error)
|
||||
GetSQStoredMetrics(sqID string) (sqSM *SQStoredMetrics, err error)
|
||||
SetSQStoredMetrics(sqSM *SQStoredMetrics) (err error)
|
||||
RemSQStoredMetrics(sqID string) (err error)
|
||||
// CacheDataFromDB loads data to cache, prefix represents the cache prefix, IDs should be nil if all available data should be loaded
|
||||
CacheDataFromDB(prefix string, IDs []string, mustBeCached bool) error // ToDo: Move this to dataManager
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user