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

Class DefaultHistogramMetric

Inheritance
System.Object
DefaultHistogramMetric
Namespace:App.Metrics.Histogram
Assembly:cs.temp.dll.dll
Syntax
public sealed class DefaultHistogramMetric : IHistogramMetric

Constructors

DefaultHistogramMetric(IReservoir)

Initializes a new instance of the DefaultHistogramMetric class.

Declaration
public DefaultHistogramMetric(IReservoir reservoir)
Parameters
Type Name Description
IReservoir reservoir

The reservoir to use for sampling.

Properties

Value

Declaration
public HistogramValue Value { get; }
Property Value
Type Description
HistogramValue

Methods

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
public void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

GetValue(Boolean)

Declaration
public HistogramValue GetValue(bool resetMetric = false)
Parameters
Type Name Description
System.Boolean resetMetric
Returns
Type Description
HistogramValue

Reset()

Declaration
public void Reset()

Update(Int64)

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

Update(Int64, String)

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