C# Class metrics.Core.MeterMetric

A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughputs.
Inheritance: IMetric, IMetered, IDisposable
Datei anzeigen Open project: ucdavis/metrics-net Class Usage Examples

Private Properties

Property Type Description
ConvertNanosRate double
MeterMetric System
Tick void

Public Methods

Method Description
Dispose ( ) : void
Mark ( ) : void

Mark the occurrence of an event

Mark ( long n ) : void

Mark the occurrence of a given number of events

New ( string eventType, TimeUnit rateUnit ) : MeterMetric

Private Methods

Method Description
ConvertNanosRate ( double ratePerNs ) : double
MeterMetric ( string eventType, TimeUnit rateUnit ) : System
Tick ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Mark() public method

Mark the occurrence of an event
public Mark ( ) : void
return void

Mark() public method

Mark the occurrence of a given number of events
public Mark ( long n ) : void
n long
return void

New() public static method

public static New ( string eventType, TimeUnit rateUnit ) : MeterMetric
eventType string
rateUnit TimeUnit
return MeterMetric