MeasurementKey Class

Represents a primary key for a measurement.

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.128 -- Release Build+e2476c52e94864f123f37e60764c948e49eb89eb
[SerializableAttribute]
public class MeasurementKey
Inheritance
Object    MeasurementKey

Properties

ID Gets or sets the numeric ID of this MeasurementKey.
Metadata Gets the MeasurementMetadata as they appear in the primary adapter metadata.
RuntimeID A unique ID that is assigned at runtime to identify this instance of MeasurementKey. This value will change between life cycles, so it cannot be used to compare MeasurementKey instances that are running out of process or in a separate AppDomain.
SignalID Gets or sets Guid ID of signal associated with this MeasurementKey.
Source Gets or sets the source of this MeasurementKey.

Methods

CreateOrUpdate(Guid, String) Constructs a new MeasurementKey given the specified parameters.
CreateOrUpdate(Guid, String, UInt64) Constructs a new MeasurementKey given the specified parameters.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
EstablishDefaultCache Establish default MeasurementKey cache.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as a hash function for the current MeasurementKey.
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
LookUpBySignalID Looks up the measurement key associated with the given signal ID.
LookUpBySource Looks up the measurement key associated with the given source and ID.
LookUpOrCreate(String) Performs a lookup by source and, failing that, attempts to create the key using a newly generated signal ID and the parsed source and ID.
LookUpOrCreate(Guid, String) Performs a lookup by signal ID and, failing that, attempts to create the key using the given signal ID and the parsed source, and ID.
LookUpOrCreate(String, UInt64) Performs a lookup by source and, failing that, attempts to create the key using a newly generated signal ID and the given source and ID.
LookUpOrCreate(Guid, String, UInt64) Performs a lookup by signal ID and, failing that, attempts to create the key using the given signal ID, source, and ID.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Parse Converts the string representation of a MeasurementKey into its value equivalent.
SetMeasurementMetadata Updates the values of the Metadata.
ToString Returns a String that represents the current MeasurementKey.
(Overrides ObjectToString)
TryCreateOrUpdate(Guid, String, MeasurementKey) Constructs a new MeasurementKey given the specified parameters.
TryCreateOrUpdate(Guid, String, UInt64, MeasurementKey) Constructs a new MeasurementKey given the specified parameters.
TryParse Attempts to convert the string representation of a MeasurementKey into its value equivalent.

Fields

Undefined Represents an undefined measurement key.

See Also