C# Class Aqueduct.Monitoring.Sensors.SensorBase

显示文件 Open project: aqueduct/Aqueduct.Monitoring

Public Methods

Method Description
ClearThreadScopedFeatureName ( ) : void
SetThreadScopedFeatureName ( string featureName, string groupName = null ) : void

Sets feature name for all sensors in the current thread.

Protected Methods

Method Description
AddReading ( ReadingData data ) : void
SensorBase ( string readingName ) : System.Threading

Private Methods

Method Description
GetFeatureDescriptor ( ) : FeatureDescriptor

Method Details

AddReading() protected method

protected AddReading ( ReadingData data ) : void
data Aqueduct.Monitoring.Readings.ReadingData
return void

ClearThreadScopedFeatureName() public static method

public static ClearThreadScopedFeatureName ( ) : void
return void

SensorBase() protected method

protected SensorBase ( string readingName ) : System.Threading
readingName string
return System.Threading

SetThreadScopedFeatureName() public static method

Sets feature name for all sensors in the current thread.
public static SetThreadScopedFeatureName ( string featureName, string groupName = null ) : void
featureName string Feature name to be used for all sensors in the current thread.
groupName string
return void