[This is preliminary documentation and is subject to change.]
The Datum type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | Datum | Initializes a new instance of the Datum class |
![]() | Datum(String) | Initializes a new instance of the Datum class |
![]() | Datum(String, DateTime) | Initializes a new instance of the Datum class |
Methods
Name | Description | |
---|---|---|
![]() | Aggregate |
Aggregates events, for example from multiple threads into one
|
![]() | AggregateEvent | |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() ![]() | GetViewGroupInterfaces |
Returns Datum classification interfaces marked with InstrumentViewGroup attribute. The implementation is cached fr efficiency
|
![]() | MakeAggregateInstance | |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ReduceSourceDetail |
Override to set a new source value which is less-specific than existing source.
ReductionLevel specifies how much detail should be lost. The function is idempotent, that is - calling more than once with the same arg does not
change the state of the object.
The default implementation removes all source details (unspecified source) when reductionLevel less than zero.
Example:
TotalBytesSent("mpx://45.12.123.19:7823 -> MySystem.Contracts.IDoSomething.SomeMethod1()")
ReduceSourceDetail(0) -> yields original string
ReduceSourceDetail(1) - > "MySystem.Contracts.IDoSomething.SomeMethod1()"
ReduceSourceDetail(2) - > "MySystem.Contracts.IDoSomething"
ReduceSourceDetail(3) - > ""
|
![]() | SummarizeAggregation | |
![]() | ToString | (Overrides ![]() |
![]() | WriteAsJSON | |
![]() | WriteJSONFields |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() ![]() | BUSINESS_SOURCE | |
![]() ![]() | FRAMEWORK_SOURCE | |
![]() | m_Count | |
![]() | m_Source | |
![]() | m_UTCEndTime | |
![]() | m_UTCTime | |
![]() ![]() | UNSPECIFIED_SOURCE |
Properties
Name | Description | |
---|---|---|
![]() | Count |
Returns count of measurements. This property may be gotten only if IsAggregated==true, otherwise zero is returned
|
![]() | Description |
Returns description for data that this datum represents. Base implementation returns full type name of this instance
|
![]() | IsAggregated |
Indicates whether this instance represents a rollup/aggregation of multiple events
|
![]() | PlotValue |
Provides numeric value used for charts
|
![]() | Rate |
Returns rate of occurrence string
|
![]() | Source |
Returns datum source. Data are rolled-up by type of recorded datum instances and source
|
![]() | UTCEndTime |
Returns UTC time stamp when event happened. This property may be gotten only if IsAggregated==true, otherwise UTCTime value is returned
|
![]() | UTCTime |
Returns UTC time stamp when event happened
|
![]() | ValueAsObject |
Provides access to value polymorphically
|
![]() | ValueUnitName |
Provides name for units that value is measured in
|
![]() | ViewGroupInterfaces |
Returns Datum classification interfaces marked with InstrumentViewGroup attribute. The implementation is cached fr efficiency
|
See Also