C# Класс 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).
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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.

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

Метод Описание
RegisterOneLog ( RawLogFileMonitorOccurence fileOccurrence, bool newOccurrence, long streamOffset, IMulticastLogEntry log ) : LiveIndexedMonitor

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

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

Adds a bunch of log files.
public Add ( IEnumerable files ) : List
files IEnumerable Set of files to add.
Результат List

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

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.
Результат RawLogFile

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

Releases this reader.
public Dispose ( ) : void
Результат void

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

Initializes a new MultiLogReader.
public MultiLogReader ( ) : System
Результат System