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 |
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
Declaration
void Update(long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value | The value. |