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

Class ApdexProvider

The default IApdexProvider implementation which uses the specified reservoir to sample values in order to caclulate an apdex score

Inheritance
System.Object
ApdexProvider
Namespace:App.Metrics.Apdex
Assembly:cs.temp.dll.dll
Syntax
public class ApdexProvider : IApdexProvider

Constructors

ApdexProvider(IReservoir, Double)

Initializes a new instance of the ApdexProvider class.

Declaration
public ApdexProvider(IReservoir reservoir, double apdexTSeconds = null)
Parameters
Type Name Description
IReservoir reservoir

The reservoir used to sample values in order to caclulate an apdex score.

System.Double apdexTSeconds

The apdex t seconds used to calculate satisfied, tolerating and frustrating counts.

Methods

GetSnapshot(Boolean)

Declaration
public ApdexSnapshot GetSnapshot(bool resetReservoir = false)
Parameters
Type Name Description
System.Boolean resetReservoir
Returns
Type Description
ApdexSnapshot

Reset()

Declaration
public void Reset()

Update(Int64)

Declaration
public void Update(long value)
Parameters
Type Name Description
System.Int64 value
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX