C# Class 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.
Inheritance: IDisposable
Afficher le fichier Open project: tableau/TabMon Class Usage Examples

Méthodes publiques

Свойство Type Description
Log4NetConfigKey string

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

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

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

IsRunning() public méthode

Indicates whether the agent is currently running (is initialized & has an active timer).
public IsRunning ( ) : bool
Résultat bool

Start() public méthode

Starts up the agent.
public Start ( ) : void
Résultat void

Stop() public méthode

Stops the agent by disabling the timer. Uses a write lock to prevent data from being corrupted mid-write.
public Stop ( ) : void
Résultat void

Property Details

Log4NetConfigKey public_oe static_oe property

public static string Log4NetConfigKey
Résultat string