Class DoubleGauge
Represents a general-purpose double measurement datum
Inheritance
System.Object
DoubleGauge
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Instrumentation
Assembly: Azos.dll
Syntax
[Serializable]
public abstract class DoubleGauge : Gauge, IArchiveLoggable, IBSONSerializable, IBSONDeserializable, IJSONWritable
Constructors
DoubleGauge(String, Double)
Declaration
protected DoubleGauge(string source, double value)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | |
System.Double | value |
DoubleGauge(String, Double, DateTime)
Declaration
protected DoubleGauge(string source, double value, DateTime utcDateTime)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | |
System.Double | value | |
System.DateTime | utcDateTime |
Properties
Value
Gets gauge value
Declaration
public double Value { get; }
Property Value
Type | Description |
---|---|
System.Double |
ValueAsObject
Declaration
public override object ValueAsObject { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
ValueUnitName
Declaration
public override string ValueUnitName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
AggregateEvent(Datum)
Declaration
protected override void AggregateEvent(Datum dat)
Parameters
Type | Name | Description |
---|---|---|
Datum | dat |
Overrides
DeserializeFromBSON(BSONSerializer, BSONDocument, ref Object)
Declaration
public override void DeserializeFromBSON(BSONSerializer serializer, BSONDocument doc, ref object context)
Parameters
Type | Name | Description |
---|---|---|
BSONSerializer | serializer | |
BSONDocument | doc | |
System.Object | context |
Overrides
SerializeToBSON(BSONSerializer, BSONDocument, IBSONSerializable, ref Object)
Declaration
public override void SerializeToBSON(BSONSerializer serializer, BSONDocument doc, IBSONSerializable parent, ref object context)
Parameters
Type | Name | Description |
---|---|---|
BSONSerializer | serializer | |
BSONDocument | doc | |
IBSONSerializable | parent | |
System.Object | context |
Overrides
SummarizeAggregation()
Declaration
protected override void SummarizeAggregation()