Class MeterValue
The value reported by a Meter Metric
Inheritance
System.Object
MeterValue
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:App.Metrics.Meter
Assembly:cs.temp.dll.dll
Syntax
public sealed class MeterValue
Constructors
MeterValue(Int64, Double, Double, Double, Double, TimeUnit, MeterValue.SetItem[])
Declaration
public MeterValue(long count, double meanRate, double oneMinuteRate, double fiveMinuteRate, double fifteenMinuteRate, TimeUnit rateUnit, MeterValue.SetItem[] items)
Parameters
Type |
Name |
Description |
System.Int64 |
count |
|
System.Double |
meanRate |
|
System.Double |
oneMinuteRate |
|
System.Double |
fiveMinuteRate |
|
System.Double |
fifteenMinuteRate |
|
TimeUnit |
rateUnit |
|
MeterValue.SetItem[] |
items |
|
Fields
SetItemComparer
Declaration
public static readonly IComparer<MeterValue.SetItem> SetItemComparer
Field Value
Properties
Count
Declaration
public long Count { get; }
Property Value
Type |
Description |
System.Int64 |
|
FifteenMinuteRate
Declaration
public double FifteenMinuteRate { get; }
Property Value
Type |
Description |
System.Double |
|
FiveMinuteRate
Declaration
public double FiveMinuteRate { get; }
Property Value
Type |
Description |
System.Double |
|
Items
Declaration
public MeterValue.SetItem[] Items { get; }
Property Value
MeanRate
Declaration
public double MeanRate { get; }
Property Value
Type |
Description |
System.Double |
|
OneMinuteRate
Declaration
public double OneMinuteRate { get; }
Property Value
Type |
Description |
System.Double |
|
RateUnit
Declaration
public TimeUnit RateUnit { get; }
Property Value
Methods
Scale(TimeUnit)
Declaration
public MeterValue Scale(TimeUnit unit)
Parameters
Returns