C# Класс DotNetWorkQueue.Metrics.Net.Meter

A meter measures the rate at which a set of events occur, in a few different ways. The mean rate is the average rate of events. It’s generally useful for trivia, but as it represents the total rate for your application’s entire lifetime (e.g., the total number of requests handled, divided by the number of seconds the process has been running), it does not offer a sense of recency. Luckily, meters also record three different exponentially-weighted moving average rates: the 1-, 5-, and 15-minute moving averages.
Наследование: IMeter
Показать файл Открыть проект

Открытые методы

Метод Описание
Mark ( ) : void

Mark the occurrence of an event.

Mark ( long count ) : void

Mark the occurrence of count events.

Mark ( string item ) : void

Mark the occurrence of an event for an item in a set. The total rate of the event is updated, but the meter will also keep track and update a specific rate for each item registered. The meter value will contain the total rate and for each registered item the specific rate and percentage of total count.

Mark ( string item, long count ) : void

Mark the occurrence of count events for an item in a set. The total rate of the event is updated, but the meter will also keep track and update a specific rate for each item registered. The meter value will contain the total rate and for each registered item the specific rate and percentage of total count.

Meter ( global meter )

Initializes a new instance of the Meter class.

Описание методов

Mark() публичный Метод

Mark the occurrence of an event.
public Mark ( ) : void
Результат void

Mark() публичный Метод

Mark the occurrence of count events.
public Mark ( long count ) : void
count long
Результат void

Mark() публичный Метод

Mark the occurrence of an event for an item in a set. The total rate of the event is updated, but the meter will also keep track and update a specific rate for each item registered. The meter value will contain the total rate and for each registered item the specific rate and percentage of total count.
public Mark ( string item ) : void
item string Item from the set for which to record the event.
Результат void

Mark() публичный Метод

Mark the occurrence of count events for an item in a set. The total rate of the event is updated, but the meter will also keep track and update a specific rate for each item registered. The meter value will contain the total rate and for each registered item the specific rate and percentage of total count.
public Mark ( string item, long count ) : void
item string Item from the set for which to record the events.
count long
Результат void

Meter() публичный Метод

Initializes a new instance of the Meter class.
public Meter ( global meter )
meter global The meter.