[This is preliminary documentation and is subject to change.]
The SessionNew type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | SessionNew | Initializes a new instance of the SessionNew class |
Methods
Name | Description | |
---|---|---|
![]() | Aggregate |
Aggregates events, for example from multiple threads into one
(Inherited from Datum.) |
![]() | AggregateEvent | (Inherited from LongGauge.) |
![]() | ![]() | 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 ![]() ![]() |
![]() | MakeAggregateInstance | (Overrides Datum 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) - > ""
(Inherited from Datum.) |
![]() | SummarizeAggregation | (Inherited from LongGauge.) |
![]() | ToString | (Inherited from Datum.) |
![]() | WriteAsJSON | (Inherited from Datum.) |
![]() | WriteJSONFields | (Inherited from Datum.) |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | m_Count | (Inherited from Datum.) |
![]() | m_Source | (Inherited from Datum.) |
![]() | m_UTCEndTime | (Inherited from Datum.) |
![]() | m_UTCTime | (Inherited from Datum.) |
Properties
Name | Description | |
---|---|---|
![]() | Count |
Returns count of measurements. This property may be gotten only if IsAggregated==true, otherwise zero is returned
(Inherited from Datum.) |
![]() | Description | (Overrides Datum Description.) |
![]() | IsAggregated |
Indicates whether this instance represents a rollup/aggregation of multiple events
(Inherited from Datum.) |
![]() | PlotValue |
Provides numeric value used for charts
(Inherited from Datum.) |
![]() | Rate |
Returns rate of occurrence string
(Inherited from Datum.) |
![]() | Source |
Returns datum source. Data are rolled-up by type of recorded datum instances and source
(Inherited from Datum.) |
![]() | UTCEndTime |
Returns UTC time stamp when event happened. This property may be gotten only if IsAggregated==true, otherwise UTCTime value is returned
(Inherited from Datum.) |
![]() | UTCTime |
Returns UTC time stamp when event happened
(Inherited from Datum.) |
![]() | Value |
Gets gauge value
(Inherited from LongGauge.) |
![]() | ValueAsObject | (Inherited from LongGauge.) |
![]() | ValueUnitName | (Overrides LongGauge ValueUnitName.) |
![]() | ViewGroupInterfaces |
Returns Datum classification interfaces marked with InstrumentViewGroup attribute. The implementation is cached fr efficiency
(Inherited from Datum.) |
See Also