C# Class TabMon.Counters.MBean.AbstractMBeanCounter

Inheritance: ICounter
Mostra file Open project: tableau/TabMon

Public Methods

Method Description
Sample ( ) : ICounterSample

Sample this counter.

ToString ( ) : string

Protected Methods

Method Description
AbstractMBeanCounter ( IMBeanClient mbeanClient, CounterLifecycleType lifecycleType, string counterType, string jmxDomain, TabMon.Helpers.Host host, string source, string filter, string category, string counter, string instance, string unit ) : System
GetAttributeValue ( string attribute ) : object

Retrieve the value of the attribute with the given name for this counter.

Method Details

AbstractMBeanCounter() protected method

protected AbstractMBeanCounter ( IMBeanClient mbeanClient, CounterLifecycleType lifecycleType, string counterType, string jmxDomain, TabMon.Helpers.Host host, string source, string filter, string category, string counter, string instance, string unit ) : System
mbeanClient IMBeanClient
lifecycleType CounterLifecycleType
counterType string
jmxDomain string
host TabMon.Helpers.Host
source string
filter string
category string
counter string
instance string
unit string
return System

GetAttributeValue() protected abstract method

Retrieve the value of the attribute with the given name for this counter.
protected abstract GetAttributeValue ( string attribute ) : object
attribute string Name of the attribute to sample.
return object

Sample() public method

Sample this counter.
public Sample ( ) : ICounterSample
return ICounterSample

ToString() public method

public ToString ( ) : string
return string