App Metrics Fork me on GitHub
Show / Hide Table of Contents

Class WeightedSnapshot

Inheritance
System.Object
WeightedSnapshot
Namespace:App.Metrics.ReservoirSampling.ExponentialDecay
Assembly:cs.temp.dll.dll
Syntax
public sealed class WeightedSnapshot : IReservoirSnapshot

Constructors

WeightedSnapshot(Int64, Double, IEnumerable<WeightedSample>)

Initializes a new instance of the WeightedSnapshot class.

Declaration
public WeightedSnapshot(long count, double sum, IEnumerable<WeightedSample> values)
Parameters
Type Name Description
System.Int64 count

The count of all observed values.

System.Double sum

The sum of all observed values.

IEnumerable<WeightedSample> values

The values within the sample set.

Properties

Count

Declaration
public long Count { get; }
Property Value
Type Description
System.Int64

Max

Declaration
public long Max { get; }
Property Value
Type Description
System.Int64

MaxUserValue

Declaration
public string MaxUserValue { get; }
Property Value
Type Description
System.String

Mean

Declaration
public double Mean { get; }
Property Value
Type Description
System.Double

Median

Declaration
public double Median { get; }
Property Value
Type Description
System.Double

Min

Declaration
public long Min { get; }
Property Value
Type Description
System.Int64

MinUserValue

Declaration
public string MinUserValue { get; }
Property Value
Type Description
System.String

Percentile75

Declaration
public double Percentile75 { get; }
Property Value
Type Description
System.Double

Percentile95

Declaration
public double Percentile95 { get; }
Property Value
Type Description
System.Double

Percentile98

Declaration
public double Percentile98 { get; }
Property Value
Type Description
System.Double

Percentile99

Declaration
public double Percentile99 { get; }
Property Value
Type Description
System.Double

Percentile999

Declaration
public double Percentile999 { get; }
Property Value
Type Description
System.Double

Size

Declaration
public int Size { get; }
Property Value
Type Description
System.Int32

StdDev

Declaration
public double StdDev { get; }
Property Value
Type Description
System.Double

Sum

Declaration
public double Sum { get; }
Property Value
Type Description
System.Double

Values

Declaration
public IEnumerable<long> Values { get; }
Property Value
Type Description
IEnumerable<System.Int64>

Methods

GetValue(Double)

Declaration
public double GetValue(double quantile)
Parameters
Type Name Description
System.Double quantile
Returns
Type Description
System.Double
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX