DeviceStatisticsHelperT Class

Helper class for calculating device statistics.

Definition

Namespace: Gemstone.Timeseries.Statistics
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.128 -- Release Build+e2476c52e94864f123f37e60764c948e49eb89eb
public class DeviceStatisticsHelper<T>
where T : class, IDevice
Inheritance
Object    DeviceStatisticsHelperT

Type Parameters

T
The type of the devices whose statistics are to be calculated.

Constructors

DeviceStatisticsHelperT Creates a new instance of the DeviceStatisticsHelperT class.

Properties

Device Gets the device whose statistics are being calculated using this helper.
ExpectedMeasurementsPerSecond Gets or sets the number of measurements expected to be received from the device per second.

Methods

AddToMeasurementsReceived Increases the count of the number of measurements received from the device.
AddToMeasurementsWithError Increases the count of the number of measurements received while the device is reporting errors.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MarkDeviceTimestamp Marks the latest timestamp of device measurements used to calculate global timestamp statistics.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Reset Resets the member variables used to track statistics for the device wrapped by this helper.
Reset(Int64) Resets the member variables used to track statistics for the device wrapped by this helper.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Update Updates the statistics for the number of measurements received and the number of measurements expected in the IDevice wrapped by this helper.
Update(Int64) Updates the statistics for the number of measurements received and the number of measurements expected in the IDevice wrapped by this helper.

See Also