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
파일 보기 프로젝트 열기: tableau/TabMon 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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