AdapterBase Class

Represents the base class for any adapter.

Definition

Namespace: Gemstone.Timeseries.Adapters
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.128 -- Release Build+e2476c52e94864f123f37e60764c948e49eb89eb
Inheritance
Object    AdapterBase
Derived
Implements
IProvideStatus, ISupportLifecycle, IAdapter, IDisposable

Constructors

AdapterBase Constructs a new instance of the AdapterBase.

Properties

AutoStart Gets or sets flag indicating if adapter should automatically start or otherwise connect on demand.
ConnectionInfo Gets connection info for adapter, if any.
ConnectionString Gets or sets key/value pair connection information specific to this AdapterBase.
DataSource Gets or sets DataSet based data source available to this AdapterBase.
Enabled Gets or sets enabled state of this AdapterBase.
ID Gets or sets numeric ID associated with this AdapterBase.
InitializationTimeout Gets or sets maximum time system will wait during Start for initialization.
Initialized Gets or sets flag indicating if the adapter has been initialized successfully.
InputMeasurementKeys Gets or sets primary keys of input measurements the AdapterBase expects, if any.
IsDisposed Gets a flag that indicates whether the object has been disposed.
Log Log messages generated by an adapter.
MeasurementReportingInterval Gets or sets the measurement reporting interval.
Name Gets or sets the name of this AdapterBase.
OutputMeasurements Gets or sets output measurements that the AdapterBase will produce, if any.
ProcessedMeasurements Gets the total number of measurements handled thus far by the AdapterBase.
ProcessingInterval Gets or sets the desired processing interval, in milliseconds, for the adapter.
RunTime Gets the total amount of time, in seconds, that the adapter has been active.
Settings Gets settings DictionaryTKey, TValue parsed when ConnectionString was assigned.
StartTime Gets the UTC time this AdapterBase was started.
StartTimeConstraint Gets the start time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
Status Gets the status of this AdapterBase.
StopTime Gets the UTC time this AdapterBase was stopped.
StopTimeConstraint Gets the stop time temporal processing constraint defined by call to SetTemporalConstraint(String, String, String).
SupportsTemporalProcessing Gets the flag indicating if this adapter supports temporal processing.

Methods

Dispose Releases all the resources used by the AdapterBase object.
Dispose(Boolean) Releases the unmanaged resources used by the AdapterBase object and optionally releases the managed resources.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Releases the unmanaged resources before the AdapterBase object is reclaimed by GC.
(Overrides ObjectFinalize)
GetHashCode Serves as a hash function for the current AdapterBase.
(Overrides ObjectGetHashCode)
GetShortStatus Gets a short one-line status of this AdapterBase.
GetStatusWithMessageLevelPrefix Gets status message with common time-series messaging prefix for given MessageLevel.
GetTypeGets the Type of the current instance.
(Inherited from Object)
IncrementProcessedMeasurements Safely increments the total processed measurements.
Initialize Initializes AdapterBase.
LoadInputSourceIDs Loads an IOutputAdapter or IActionAdapter instance's input measurement keys from a specific set of source ID's.
LoadOutputSourceIDs Loads an IInputAdapter or IActionAdapter instance's output measurements from a specific set of source ID's.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnConfigurationChanged Raises ConfigurationChanged event.
OnInputMeasurementKeysUpdated Raises InputMeasurementKeysUpdated event.
OnOutputMeasurementsUpdated Raises OutputMeasurementsUpdated event.
OnProcessException Raises the ProcessException event.
OnStatusMessage Raises the StatusMessage event and sends this data to the Logger.
ParseFilterExpression Parses a standard FILTER styles expression into its constituent parts.
ParseInputMeasurementKeys Parses input measurement keys from connection string setting.
ParseOutputMeasurementKeys Parses output measurement keys from connection string setting.
ParseOutputMeasurements Parses output measurements from connection string setting.
ParseTimeTag Parses a string formatted as an absolute or relative time tag.
SetInitializedState Manually sets the initialized state of the AdapterBase.
SetTemporalConstraint Defines a temporal processing constraint for the adapter.
Start Starts the AdapterBase or restarts it if it is already running.
Stop Stops the AdapterBase.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

ConfigurationChanged Event is raised when adapter is aware of a configuration change.
Disposed Event is raised when AdapterBase is disposed.
InputMeasurementKeysUpdated Event is raised when InputMeasurementKeys are updated.
OutputMeasurementsUpdated Event is raised when OutputMeasurements are updated.
ProcessException Event is raised when there is an exception encountered while processing.
StatusMessage Provides status messages to consumer.

Fields

DefaultInitializationTimeout Default initialization timeout.
DefaultMeasurementReportingInterval Default measurement reporting interval.

Extension Methods

InputMeasurementKeys Returns the MeasurementKey values of the IAdapter input measurements.
(Defined by IAdapterExtensions)
OutputMeasurementKeys Returns the MeasurementKey values of the IAdapter output measurements.
(Defined by IAdapterExtensions)
TemporalConstraintIsDefined Returns true if IAdapter has a temporal constraint defined, i.e., either StartTimeConstraint or StopTimeConstraint is not set to its default value.
(Defined by IAdapterExtensions)

See Also