C# 클래스 TabMon.CounterConfig.MBeanCounterConfigReader

Handles parsing & loading the MBean counters defined within a Counters.config file.
상속: ICounterConfigReader
파일 보기 프로젝트 열기: tableau/TabMon 1 사용 예제들

공개 메소드들

메소드 설명
LoadCounters ( XmlNode root, TabMon.Helpers.Host host, CounterLifecycleType lifeCycleTypeToLoad ) : ICollection

Parses & loads a set of MBean counters for the given host using the XML tree.

비공개 메소드들

메소드 설명
BuildCounterFromCounterNode ( XmlNode counterNode, IMBeanClient mbeanClient, TabMon.Helpers.Host host, string sourceName, int startPort ) : ICounter

Builds an ICounter instance from a counter XML node and a set of properties.

BuildCountersForSourceNode ( XmlNode sourceNode, TabMon.Helpers.Host host, IMBeanClient mbeanClient, int startPort ) : List

Builds a collection of ICounter instances from a source XML node.

BuildInstanceName ( string sourceName, int startPort, int currentPort ) : string

Builds the instance name to match what Perfmon does (i.e. a machine with two dataserver processes will have instance names "dataserver" & "dataserver#1".

메소드 상세

LoadCounters() 공개 메소드

Parses & loads a set of MBean counters for the given host using the XML tree.
public LoadCounters ( XmlNode root, TabMon.Helpers.Host host, CounterLifecycleType lifeCycleTypeToLoad ) : ICollection
root System.Xml.XmlNode The root MBean counters config node.
host TabMon.Helpers.Host The host to load counters for.
lifeCycleTypeToLoad CounterLifecycleType A filter that indicates whether ephemeral or persistent counters should be loaded.
리턴 ICollection