C# 클래스 ZocMonLib.RecordFlush

상속: IRecordFlush
파일 보기 프로젝트 열기: Zocdoc/ZocMon 1 사용 예제들

공개 메소드들

메소드 설명
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