C# 클래스 TabMon.Sampler.CounterSampler

Concrete class that handles sampling all counters in a collection and mapping the results to the desired schema.
파일 보기 프로젝트 열기: tableau/TabMon 1 사용 예제들

공개 메소드들

메소드 설명
CounterSampler ( ICollection hostsToSample, string tableName ) : System
SampleAll ( ) : DataTable

Polls all known counters and maps the results to the dynamic data model.

비공개 메소드들

메소드 설명
BuildColumnMetadata ( string columnName, string columnType, bool isNullable, int maxLength = -1 ) : DataColumn

Builds a DataColumn for the given parameters.

GenerateSchema ( ICollection counters ) : DataTable

Generates a dynamic schema that can support all known counters.

MapToSchema ( ICounterSample sample, DataTable tableSchema, System.DateTime pollTimestamp ) : DataRow

Maps a counter's metadata and sampled value to the table schema.

SampleCounters ( ICollection counters, System.DateTime pollTimestamp ) : DataTable

메소드 상세

CounterSampler() 공개 메소드

public CounterSampler ( ICollection hostsToSample, string tableName ) : System
hostsToSample ICollection
tableName string
리턴 System

SampleAll() 공개 메소드

Polls all known counters and maps the results to the dynamic data model.
public SampleAll ( ) : DataTable
리턴 System.Data.DataTable