C# Class CK.Monitoring.MultiLogReader.RawLogFileMonitorOccurence

Immutable object that describes the occurrence of a Monitor in a RawLogFile.
Afficher le fichier Open project: Invenietis/ck-core

Méthodes publiques

Свойство Type Description
FirstOffset long
LogFile RawLogFile
MonitorId System.Guid

Méthodes publiques

Méthode Description
CreateFilteredReader ( long streamOffset ) : LogReader

Creates and opens a LogReader that reads unicast entries only from this monitor. The reader is initially positioned before the entry (i.e. LogReader.MoveNext must be called).

CreateFilteredReaderAndMoveTo ( DateTimeStamp logTime ) : LogReader

Opens a LogReader that reads unicast entries only from this monitor and positions it on the first entry with the given time (i.e. LogReader.MoveNext has been called).

Private Methods

Méthode Description
RawLogFileMonitorOccurence ( RawLogFile f, System.Guid monitorId, long streamOffset ) : System

Method Details

CreateFilteredReader() public méthode

Creates and opens a LogReader that reads unicast entries only from this monitor. The reader is initially positioned before the entry (i.e. LogReader.MoveNext must be called).
public CreateFilteredReader ( long streamOffset ) : LogReader
streamOffset long Initial stream position.
Résultat LogReader

CreateFilteredReaderAndMoveTo() public méthode

Opens a LogReader that reads unicast entries only from this monitor and positions it on the first entry with the given time (i.e. LogReader.MoveNext has been called).
public CreateFilteredReaderAndMoveTo ( DateTimeStamp logTime ) : LogReader
logTime DateTimeStamp Log time. Must exist in the stream otherwise an exception is thrown.
Résultat LogReader

Property Details

FirstOffset public_oe property

First offset for this MonitorId in this LogFile.
public long FirstOffset
Résultat long

LogFile public_oe property

The RawLogFile.
public RawLogFile LogFile
Résultat RawLogFile

MonitorId public_oe property

The monitor's identifier.
public Guid,System MonitorId
Résultat System.Guid