C# Class CK.Monitoring.MultiLogReader

This reader process multiples .ckmon files (possibly in different steps: it internally aggregates the result) and can create ActivityMap objects on demand. It is a thread safe object (the ActivityMap is immutable).
Inheritance: IDisposable
Mostrar archivo Open project: Invenietis/ck-core Class Usage Examples

Public Methods

Method Description
Add ( IEnumerable files ) : List

Adds a bunch of log files.

Add ( string filePath, bool &newFileIndex ) : RawLogFile

Adds a file to this reader. This is thread safe (can be called from any thread at any time).

Dispose ( ) : void

Releases this reader.

MultiLogReader ( ) : System

Initializes a new MultiLogReader.

Private Methods

Method Description
RegisterOneLog ( RawLogFileMonitorOccurence fileOccurrence, bool newOccurrence, long streamOffset, IMulticastLogEntry log ) : LiveIndexedMonitor

Method Details

Add() public method

Adds a bunch of log files.
public Add ( IEnumerable files ) : List
files IEnumerable Set of files to add.
return List

Add() public method

Adds a file to this reader. This is thread safe (can be called from any thread at any time).
public Add ( string filePath, bool &newFileIndex ) : RawLogFile
filePath string The path of the file to add.
newFileIndex bool True if the file has actually been added, false it it was already added.
return RawLogFile

Dispose() public method

Releases this reader.
public Dispose ( ) : void
return void

MultiLogReader() public method

Initializes a new MultiLogReader.
public MultiLogReader ( ) : System
return System