C# Класс Elders.Hystrix.NET.Util.HystrixRollingPercentile.PercentileSnapshot

Stores all the values of the given buckets and provides methods to calculate percentiles.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetPercentile ( double percentile ) : int

Calculates percentile.

PercentileSnapshot ( ) : System

Initializes a new instance of the PercentileSnapshot class using specified values.

PercentileSnapshot ( Bucket buckets ) : System

Initializes a new instance of the PercentileSnapshot class from the given buckets.

Приватные методы

Метод Описание
ComputePercentile ( double percent ) : int

Do the actual calculation.

http://en.wikipedia.org/wiki/Percentile http://cnx.org/content/m10805/latest/

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

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

Calculates percentile.
public GetPercentile ( double percentile ) : int
percentile double The percentile to calculate.
Результат int

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

Initializes a new instance of the PercentileSnapshot class using specified values.
public PercentileSnapshot ( ) : System
Результат System

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

Initializes a new instance of the PercentileSnapshot class from the given buckets.
public PercentileSnapshot ( Bucket buckets ) : System
buckets Bucket The buckets to initialize the snapshot.
Результат System