Click or drag to resize

DataGapRecoverer Class

Represents a data gap recovery module.
Inheritance Hierarchy
SystemObject
  GSF.TimeSeries.TransportDataGapRecoverer

Namespace: GSF.TimeSeries.Transport
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.181-beta
Syntax
public class DataGapRecoverer : ISupportLifecycle, 
	IDisposable, IProvideStatus
View Source

The DataGapRecoverer type exposes the following members.

Constructors
 NameDescription
Public methodDataGapRecoverer Creates a new DataGapRecoverer.
Top
Properties
 NameDescription
Public propertyConnectionString Gets or sets connection string that will be used to make a temporal subscription when recovering data for an Outage.
Public propertyConstraintParameters Gets or sets any additional constraint parameters that will be supplied to adapters in temporal subscription used when recovering data for an Outage.
Protected propertyDataGapLog Gets reference to the data gap OutageLog for this DataGapRecoverer.
Protected propertyDataGapLogProcessor Gets reference to the data gap OutageLogProcessor for this DataGapRecoverer.
Public propertyDataMonitoringInterval Gets or sets the interval, in seconds, over which the data monitor will check for new data.
Public propertyDataSource Gets or sets DataSet based data source available to this DataGapRecoverer.
Public propertyEnabled Gets or sets a boolean value that indicates whether the DataGapRecoverer is enabled.
Public propertyEndRecoveryBuffer Gets or sets end buffer time, in seconds, to add to end of outage window to ensure all missing data is recovered.
Public propertyFilterExpression Gets or sets the filter expression used to define which measurements are being requested for data recovery during an Outage.
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
Protected propertyLog Log messages generated by an adapter.
Public propertyLoggingPath Gets or sets logging path to be used to be runtime and outage logs of the subscriber which are required for automated data recovery.
Public propertyMaximumRecoverySpan Gets to sets the maximum time span, in seconds, for which a data recovery will be attempted. Set to MaxValue for no maximum.
Public propertyMinimumRecoverySpan Gets to sets the minimum time span, in seconds, for which a data recovery will be attempted. Set to zero for no minimum.
Public propertyRecoveryProcessingInterval Gets or sets the data recovery processing interval, in whole milliseconds, to use in the temporal data subscription when recovering data for an Outage.
A value of -1 indicates the default processing interval will be requested.
A value of 0 indicates data will be processed as fast as possible.
Public propertyRecoveryStartDelay Gets or sets the minimum time delay, in seconds, to wait before starting the data recovery for an Outage.
Public propertySourceConnectionName Gets or sets name of source connection device (e.g., a data subscriber).
Public propertyStartRecoveryBuffer Gets or sets start buffer time, in seconds, to add to start of outage window to ensure all missing data is recovered.
Public propertyStatus Gets the status of this DataGapRecoverer.
Public propertyTemporalSubscriptionStatus Gets the status of the temporal DataSubscriber used to query historical data.
Public propertyUseMillisecondResolution Gets or sets the flag that determines whether measurement timestamps use millisecond resolution. If false, time will be of Ticks resolution.
Top
Methods
 NameDescription
Public methodDispose Releases all the resources used by the DataGapRecoverer object.
Protected methodDispose(Boolean) Releases the unmanaged resources used by the DataGapRecoverer object and optionally releases the managed resources.
Public methodDumpOutageLog Produces a dump of the contents of the outage log.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the DataGapRecoverer object is reclaimed by GC.
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize Initializes the DataGapRecoverer.
Public methodLogDataGap Logs a new data gap for processing.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnProcessException Raises the ProcessException event.
Protected methodOnRecoveredMeasurements Raises the RecoveredMeasurements event.
Protected methodOnStatusMessage Raises the StatusMessage event and sends this data to the Logger.
Public methodRemoveDataGap Removes a data gap from the outage log so that it will not be processed.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventDisposed Raised after the DataGapRecoverer has been properly disposed.
Public eventProcessException Event is raised when there is an exception encountered during DataGapRecoverer processing.
Public eventRecoveredMeasurements Provides recovered measurements from temporal subscription.
Public eventStatusMessage Provides status messages to consumer.
Top
Fields
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks

Data gaps will be recovered using an unsynchronized temporal subscription.

This class expects that source historian that feeds temporal subscription will recover data in time-sorted order.

See Also