C# Class ZocMonLib.ZocMon

Class of static methods for recording and reducing time series data.
Show file Open project: Zocdoc/ZocMon

Public Methods

Method Description
Record ( string configName, System.DateTime time, double value, MonitorReductionType monitorReductionType ) : void

Record the given value to the given monitor configuration, for the given time.

Record ( string configName, double value, MonitorReductionType monitorReductionType ) : void

Record the given value to the given monitor configuration.

RecordEvent ( string configName ) : void

Record the ocurrance of a given monitor configuration.

RecordEvent ( string configName, MonitorReductionType monitorReductionType ) : void

Record the ocurrance of a given monitor configuration.

Seed ( string configName, MonitorReductionType monitorReductionType ) : MonitorInfo

Seed the local data for a monitor configuration.

Private Methods

Method Description
ZocMon ( ) : System

Method Details

Record() public static method

Record the given value to the given monitor configuration, for the given time.
public static Record ( string configName, System.DateTime time, double value, MonitorReductionType monitorReductionType ) : void
configName string Name of the config
time System.DateTime Time of the recrod
value double Value that is being recorded
monitorReductionType MonitorReductionType Reduction type that is being used
return void

Record() public static method

Record the given value to the given monitor configuration.
public static Record ( string configName, double value, MonitorReductionType monitorReductionType ) : void
configName string Name of the config
value double Value that is being recorded
monitorReductionType MonitorReductionType Reduction type that is being used
return void

RecordEvent() public static method

Record the ocurrance of a given monitor configuration.
public static RecordEvent ( string configName ) : void
configName string Name of the config
return void

RecordEvent() public static method

Record the ocurrance of a given monitor configuration.
public static RecordEvent ( string configName, MonitorReductionType monitorReductionType ) : void
configName string Name of the config
monitorReductionType MonitorReductionType Reduction type that is being used
return void

Seed() public static method

Seed the local data for a monitor configuration.
public static Seed ( string configName, MonitorReductionType monitorReductionType ) : MonitorInfo
configName string
monitorReductionType MonitorReductionType
return MonitorInfo