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

Interface IApdexProvider

Provides access to an ApdexProvider Implementation responsible for sampling measured duration to calculate an apdex score

Namespace:App.Metrics.Apdex.Abstractions
Assembly:cs.temp.dll.dll
Syntax
public interface IApdexProvider

Methods

GetSnapshot(Boolean)

Gets a ApdexSnapshot including the number of satisfied, tolerating, frustrating requests, the apdex score and the number of samples used to calculate the result.

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

if set to true [reset reservoir].

Returns
Type Description
ApdexSnapshot

The apdex snapshot

Reset()

Reset all values, in addition to the underlying reservoir.

Declaration
void Reset()

Update(Int64)

Update the chosen reservoir with a new sample.

Declaration
void Update(long value)
Parameters
Type Name Description
System.Int64 value

The value.

Back to top Copyright © 2017 Allan Hardy
Generated by DocFX