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
Afficher le fichier Open project: Invenietis/ck-core Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
RegisterOneLog ( RawLogFileMonitorOccurence fileOccurrence, bool newOccurrence, long streamOffset, IMulticastLogEntry log ) : LiveIndexedMonitor

Method Details

Add() public méthode

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

Add() public méthode

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.
Résultat RawLogFile

Dispose() public méthode

Releases this reader.
public Dispose ( ) : void
Résultat void

MultiLogReader() public méthode

Initializes a new MultiLogReader.
public MultiLogReader ( ) : System
Résultat System