C# Класс TabMon.TabMonAgent

A timer-based performance monitoring agent. Loads a set of counters from a config file and polls them periodically, passing the results to a writer object.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Log4NetConfigKey string

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

Метод Описание
Dispose ( ) : void
IsRunning ( ) : bool

Indicates whether the agent is currently running (is initialized & has an active timer).

Start ( ) : void

Starts up the agent.

Stop ( ) : void

Stops the agent by disabling the timer. Uses a write lock to prevent data from being corrupted mid-write.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

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

Метод Описание
OnTimer ( object stateInfo ) : void

Handles all tasks involved in the pulling cycle.

Poll ( ) : void

Polls the sampler's counters and writes the results to the writer object.

PurgeExpiredData ( ) : void

Checks to see if data is purgeable then purges based off of threshold.

TabMonAgent ( bool loadOptionsFromConfig = true ) : System

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

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

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

Indicates whether the agent is currently running (is initialized & has an active timer).
public IsRunning ( ) : bool
Результат bool

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

Starts up the agent.
public Start ( ) : void
Результат void

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

Stops the agent by disabling the timer. Uses a write lock to prevent data from being corrupted mid-write.
public Stop ( ) : void
Результат void

Описание свойств

Log4NetConfigKey публичное статическое свойство

public static string Log4NetConfigKey
Результат string