Class LongGauge
Represents a general-purpose long integer measurement datum
Inheritance
System.Object
LongGauge
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: NFX.Instrumentation
Assembly: NFX.dll
Syntax
[Serializable]
public abstract class LongGauge : Gauge, IArchiveLoggable, IBSONSerializable, IBSONDeserializable, IJSONWritable
Constructors
LongGauge(Int64)
Declaration
protected LongGauge(long value)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | value |
LongGauge(String, Int64)
Declaration
protected LongGauge(string source, long value)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | |
System.Int64 | value |
LongGauge(String, Int64, DateTime)
Declaration
protected LongGauge(string source, long value, DateTime utcDateTime)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | |
System.Int64 | value | |
System.DateTime | utcDateTime |
Properties
Value
Gets gauge value
Declaration
public long Value { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
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()