C# 클래스 Elders.Hystrix.NET.Util.HystrixRollingPercentile.PercentileSnapshot

Stores all the values of the given buckets and provides methods to calculate percentiles.
파일 보기 프로젝트 열기: Elders/Hystrix.NET 1 사용 예제들

공개 메소드들

메소드 설명
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