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
Afficher le fichier Open project: ucdavis/metrics-net Class Usage Examples

Private Properties

Свойство Type Description
ConvertNanosRate double
MeterMetric System
Tick void

Méthodes publiques

Méthode 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

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

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Mark() public méthode

Mark the occurrence of an event
public Mark ( ) : void
Résultat void

Mark() public méthode

Mark the occurrence of a given number of events
public Mark ( long n ) : void
n long
Résultat void

New() public static méthode

public static New ( string eventType, TimeUnit rateUnit ) : MeterMetric
eventType string
rateUnit TimeUnit
Résultat MeterMetric