C# Класс ZocMonLib.RecordFlush

Наследование: IRecordFlush
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Flush ( string configName, IDbConnection conn = null ) : void

Flush data for the lowest reduce resolution for the given configuration. (The rest is only written on Reduce.)

FlushAll ( ) : void

Flush all data accumulated thus far.

RecordFlush ( ISetupMonitorConfig setupMonitorConfig, IDataCache cache, IStorageCommands storageCommands, IRecordFlushUpdate logic, IStorageFactory dbFactory, ISettings settings ) : System

Приватные методы

Метод Описание
CloneRecordList ( IList updateList ) : IList>

Clone the update list before writting it to the DB, but leave the last element (since it may be an incomplete accumulation).

ConvertRecordToSortedDictionary ( IEnumerable updateList ) : MonitorRecord>.SortedDictionary
GetFirstReduceLevel ( string configName ) : ReduceLevel

The first reduce level is the table for the primary data.

Описание методов

Flush() публичный Метод

Flush data for the lowest reduce resolution for the given configuration. (The rest is only written on Reduce.)
public Flush ( string configName, IDbConnection conn = null ) : void
configName string
conn IDbConnection
Результат void

FlushAll() публичный Метод

Flush all data accumulated thus far.
public FlushAll ( ) : void
Результат void

RecordFlush() публичный Метод

public RecordFlush ( ISetupMonitorConfig setupMonitorConfig, IDataCache cache, IStorageCommands storageCommands, IRecordFlushUpdate logic, IStorageFactory dbFactory, ISettings settings ) : System
setupMonitorConfig ISetupMonitorConfig
cache IDataCache
storageCommands IStorageCommands
logic IRecordFlushUpdate
dbFactory IStorageFactory
settings ISettings
Результат System