C# 클래스 LogStreamer.FilteredLogReader

FilteredLogReader reads the transaction log looking for transactions with commit ID's that modify a set of tables with commit ID's less than the transaction commit ID, or all transactions if there is no dictionary. Then makes the next transaction available, with any non-matching table operations removed from the transaction. It also does loop filtering based on peer database GUID. All transactions that contain an insert or update of LogStreamer.State where DatabaseGuid equals the peer will be ignored in entirety. Finally, no operations on LogStreamer tables will be sent.
파일 보기 프로젝트 열기: StarcounterPrefabs/LogStreamer 1 사용 예제들

공개 메소드들

메소드 설명
FilteredLogReader ( LogStreamerSession logStreamer, ulong>.Dictionary tablePos, HashSet tableFilter ) : System
GetTransactionLogDirectory ( ) : string

Retrieves the Starcounter transaction log directory from the server's settings URI.

IsSendNothingFilter ( ) : bool
OpenLog ( ) : void
OpenLogAsync ( CancellationToken ct ) : Task
ReadAsync ( CancellationToken ct ) : Task
StripDatabasePrefix ( string tableNameOrId ) : string

비공개 메소드들

메소드 설명
FilterLoops ( ColumnUpdate columns ) : bool
FilterTable ( string tableName, ulong commitId ) : bool
FilterTransaction ( LogReadResult lrr ) : bool
FindStartCommitId ( ) : ulong
GetEmptyLogReadResult ( ulong commitId ) : LogReadResult

메소드 상세

FilteredLogReader() 공개 메소드

public FilteredLogReader ( LogStreamerSession logStreamer, ulong>.Dictionary tablePos, HashSet tableFilter ) : System
logStreamer LogStreamerSession
tablePos ulong>.Dictionary
tableFilter HashSet
리턴 System

GetTransactionLogDirectory() 정적인 공개 메소드

Retrieves the Starcounter transaction log directory from the server's settings URI.
static public GetTransactionLogDirectory ( ) : string
리턴 string

IsSendNothingFilter() 공개 메소드

public IsSendNothingFilter ( ) : bool
리턴 bool

OpenLog() 공개 메소드

public OpenLog ( ) : void
리턴 void

OpenLogAsync() 공개 메소드

public OpenLogAsync ( CancellationToken ct ) : Task
ct System.Threading.CancellationToken
리턴 Task

ReadAsync() 공개 메소드

public ReadAsync ( CancellationToken ct ) : Task
ct System.Threading.CancellationToken
리턴 Task

StripDatabasePrefix() 공개 메소드

public StripDatabasePrefix ( string tableNameOrId ) : string
tableNameOrId string
리턴 string