AP&C API Reference
|
Implements a measurement store on a set of XML files in a directory structure. The main goal of this implementation is to provide a working prototype store that can be used to analyze issues related to storing measurements. More...
Classes | |
class | StoreFileException |
Public Member Functions | |
List< Threshold > | GetThresholds (uint elementId) |
Gets the thresholds. More... | |
bool | PersistThreshold (Threshold threshold) |
Perists the threshold. More... | |
EventDef | GetEventDef (uint eventId) |
Gets the event def. More... | |
List< EventDef > | GetEventDefs () |
Gets all event defs. More... | |
bool | PersistEventDef (EventDef eventDef) |
Persistes the event def. More... | |
void | DeleteEventDef (EventDef eventDef) |
Deletes the event def. More... | |
List< ActionDef > | GetActions (uint elementId, uint eventId) |
Gets the actions. More... | |
List< ActionDef > | GetActions () |
Gets all actions. More... | |
bool | PersistAction (ActionDef action) |
Persists the action. More... | |
void | DeleteAction (ActionDef action) |
Deletes the action. More... | |
void | DeleteActions (EventDef eventDef) |
Deletes the actions associated with the event def. More... | |
void | ActivateCurrentConfiguration () |
Should promote configuration changes that have been persisted to the runtime environment. This allows simple edits by the user to result in atomic commits of each change without reloading the entire system before all edits are complete. More... | |
void | SaveConfiguration (Apac.Settings.Configuration config, bool activate) |
Should save the given configuration to the data store. More... | |
bool | PersistMeasurementMapping (MeasurementMapping mapping, MeasurementMapping oldmapping) |
Should write the given mapping to the store. More... | |
List< ManagedElement > | GetManagedElements () |
Should return a list of all managed elements in the system. More... | |
object | GetClientSettings (string userid) |
Gets the client settings. More... | |
void | DeleteSensor (Sensor sensor) |
Deletes the sensor. More... | |
void | PersistSensor (Sensor sensor) |
Persists the sensor. More... | |
List< Sensor > | GetSensors (short configId, bool activeOnly) |
Gets all sensors. More... | |
Sensor | GetSensor (uint id) |
Gets the sensor with the specified ID. More... | |
List< Monitoring.MeasurementMapping > | LookupMappings (uint elementId) |
Should perform a store-specific lookup for a mapping (regardless of state) for the given element identifier. More... | |
List< Apac.Monitoring.MeasurementMapping > | LookupMappings (MeasurementSource source) |
Looks up the mapping by sensor source. More... | |
bool | PersistManagedElement (Apac.Monitoring.ManagedElement element) |
Creates or updates the given element in the datastore for use in setting up mappings to incoming data. More... | |
void | DeleteManagedElement (Apac.Monitoring.ManagedElement element) |
Should remove the given element from the datastore. More... | |
Apac.Monitoring.ManagedElement | GetManagedElement (uint id) |
Retrieves the managed element specified by id . More... | |
bool | PersistMeasurementMappings (MeasurementMappingCollection mappings) |
Writes the given mappings to the appropriate file. More... | |
void | DeleteMeasurementMapping (MeasurementMapping mapping) |
Should delete the given mapping from the store. More... | |
void | DeleteConfiguration (string name) |
Should delete the specified mappings unless they are the active mappings. Then an InvalidOperationException is thrown. More... | |
MeasurementMappingCollection | CloneMeasurementMappings (string origName, string copyName) |
Should make a copy of the mappings with origName giving the copy the name of copyName . More... | |
bool | ChangeActiveConfiguration (string name) |
Makes the mappings with the given name become the active mappings. More... | |
MeasurementMappingCollection | GetMeasurementMappings (string name) |
Finds and returns the requested set of mappings. More... | |
Apac.Settings.Configuration | GetConfiguration (string name) |
Gets the configuration. More... | |
Apac.Settings.Configuration | GetConfiguration (short id) |
Gets the configuration. More... | |
![]() | |
ThreadedMeasurementStore () | |
Default constructor. More... | |
override object | InitializeLifetimeService () |
Obtains a lifetime service object to control the lifetime policy for this instance. More... | |
void | RecordAlerts (Alerts alerts) |
Should records the alerts. More... | |
void | RecordAlerts (Alerts alerts, StoreAccessCompleteHandler callout) |
Should records the alerts, will call back on callout . More... | |
void | RetrieveAlerts (bool activeOnly, StoreAccessCompleteHandler callout) |
Should retrieve the alerts. More... | |
void | RecordMeasurements (Measurements measurements) |
Enqueues the given averages for the raw data thread to record. More... | |
void | RecordMeasurements (Measurements measurements, StoreAccessCompleteHandler callout) |
Enqueues the given averages for the raw data thread to record. More... | |
void | RecordFiveMinAverages (WeightedMeasurementAvgs averages) |
Enqueues the given averages for the 5-minute thread to record. More... | |
void | RecordFiveMinAverages (WeightedMeasurementAvgs averages, StoreAccessCompleteHandler callout) |
Enqueues the given averages for the 5-minute thread to record. More... | |
void | RecordHourlyAverages (WeightedMeasurementAvgs averages) |
Enqueues the given averages for the hourly thread to record. More... | |
void | RecordHourlyAverages (WeightedMeasurementAvgs averages, StoreAccessCompleteHandler callout) |
Enqueues the given averages for the hourly thread to record. More... | |
void | RecordDailyAverages (WeightedMeasurementAvgs averages) |
Enqueues the given averages for the daily thread to record. More... | |
void | RecordDailyAverages (WeightedMeasurementAvgs averages, StoreAccessCompleteHandler callout) |
Enqueues the given averages for the daily thread to record. More... | |
void | RecordMonthlyAverages (WeightedMeasurementAvgs averages) |
Enqueues the given averages for the monthly thread to record. More... | |
void | RecordMonthlyAverages (WeightedMeasurementAvgs averages, StoreAccessCompleteHandler callout) |
Enqueues the given averages for the monthly thread to record. More... | |
TimeTrackingList< Measurements > | FetchMeasurements (MeasurementQueryCriteria criteria) |
Retrieves measurements according to the given criteria. More... | |
TimeTrackingList< Monitoring.WeightedMeasurementAvgs > | FetchFiveMinuteAverages (MeasurementQueryCriteria criteria) |
Retrieves five minute averages according to the given criteria. More... | |
TimeTrackingList< Monitoring.WeightedMeasurementAvgs > | FetchHourlyAverages (MeasurementQueryCriteria criteria) |
Retrieves hourly averages according to the given criteria. More... | |
TimeTrackingList< Monitoring.WeightedMeasurementAvgs > | FetchDailyAverages (MeasurementQueryCriteria criteria) |
Retrieves daily averages according to the given criteria. More... | |
TimeTrackingList< Monitoring.WeightedMeasurementAvgs > | FetchMonthlyAverages (MeasurementQueryCriteria criteria) |
Retrieves monthly averages according to the given criteria. More... | |
void | Initialize (Apac.Configuration.DataStoreConfig config) |
Starts the inheritance call chain for initializing the data store. More... | |
void | Open () |
Prompts the store to prepare for recording and fetching data. More... | |
void | Close () |
Prompts the store to clean up its resources used for recording and fetching data. More... | |
void | Dispose () |
![]() | |
void | Initialize (Apac.Configuration.SupervisableConfig config, Supervisors.ISupervisor supervisor) |
Initializes the controller from configuration. More... | |
void | ResolveReferences () |
Resolves any references this component might hold to other supervisable components. More... | |
void | CheckReferencesStates () |
Checks the states of referenced components to be sure they are satisfactory for this component's operation. More... | |
void | Starting () |
Signals that the component will be starting on its own thread. This implementation uses this opportunity to CheckReferencesStates, change state to Starting, and signal subclasses with OnStarting. More... | |
void | Start () |
Starts the component. More... | |
void | Stop () |
Stops the component. More... | |
![]() | |
void | Initialize (Apac.Configuration.SupervisableConfig config, Supervisors.ISupervisor exec) |
Initializes the component with the given SupervisableConfig (or derivative) and ISupervisor. More... | |
![]() | |
void | Initialize (Configuration.DataStoreConfig config) |
![]() | |
void | RecordAlerts (Monitoring.Alerts alerts) |
Should records the alerts. More... | |
void | RecordAlerts (Monitoring.Alerts alerts, StoreAccessCompleteHandler callout) |
Should records the alerts, will call back on callout . More... | |
void | RecordMeasurements (Monitoring.Measurements measurements) |
Should record raw measurements in the given bucket. More... | |
void | RecordFiveMinAverages (Monitoring.WeightedMeasurementAvgs averages) |
Should record the given averages to the given 5-minute store. More... | |
void | RecordHourlyAverages (Monitoring.WeightedMeasurementAvgs averages) |
Should record the given averages to the given 5-minute store. More... | |
void | RecordDailyAverages (Monitoring.WeightedMeasurementAvgs averages) |
Should record the given averages to the given daily store. More... | |
void | RecordMonthlyAverages (Monitoring.WeightedMeasurementAvgs averages) |
Should record the given averages to the given monthy store. More... | |
void | RecordMeasurements (Monitoring.Measurements measurements, StoreAccessCompleteHandler callout) |
Should record raw measurements in the given bucket and call out to the delegate when complete. More... | |
void | RecordFiveMinAverages (Monitoring.WeightedMeasurementAvgs averages, StoreAccessCompleteHandler callout) |
Should record the given averages to the given 5-minute store and call out to the delegate when complete. More... | |
void | RecordHourlyAverages (Monitoring.WeightedMeasurementAvgs averages, StoreAccessCompleteHandler callout) |
Should record the given averages to the given 5-minute store and call out to the delegate when complete. More... | |
void | RecordDailyAverages (Monitoring.WeightedMeasurementAvgs averages, StoreAccessCompleteHandler callout) |
Should record the given averages to the given daily store and call out to the delegate when complete. More... | |
void | RecordMonthlyAverages (Monitoring.WeightedMeasurementAvgs averages, StoreAccessCompleteHandler callout) |
Should record the given averages to the given monthy store and call out to the delegate when complete. More... | |
![]() | |
bool | PersistManagedElement (Apac.Monitoring.ManagedElement element) |
Should create or update the given element in the datastore for use in setting up mappings to incoming data. More... | |
void | DeleteManagedElement (Apac.Monitoring.ManagedElement element) |
Should remove the given element from the datastore. More... | |
void | SaveConfiguration (Settings.Configuration config, bool activate) |
Should save the given configuration to the data store. More... | |
bool | PersistThreshold (Monitoring.Threshold threshold) |
Perists the threshold. More... | |
bool | PersistEventDef (Monitoring.EventDef eventDef) |
Persistes the event def. More... | |
void | DeleteEventDef (Monitoring.EventDef eventDef) |
Deletes the event def. More... | |
bool | PersistAction (Monitoring.ActionDef action) |
Persists the action. More... | |
void | DeleteAction (Monitoring.ActionDef action) |
Deletes the action. More... | |
void | DeleteActions (Monitoring.EventDef eventDef) |
Deletes the actions associated with the event def. More... | |
void | PersistSensor (Monitoring.Sensor sensor) |
Persists the sensor. More... | |
void | DeleteSensor (Monitoring.Sensor sensor) |
Deletes the sensor. More... | |
Protected Member Functions | |
override void | OnInitializeDataStore (Apac.Configuration.DataStoreConfig config) |
Performs initialization for this data store by ensuring the given location exists and that it contains a valid mapping file. More... | |
override void | OnOpen () |
Opens the store. More... | |
override void | OnClose () |
Close all files we've tracked. More... | |
override TimeTrackingList< Measurements > | OnFetchMeasurements (MeasurementQueryCriteria criteria) |
Returns the latest batch of measurements that have come in from the compiler, or null if no measurements have come in. More... | |
override TimeTrackingList< WeightedMeasurementAvgs > | OnFetchFiveMinuteAverages (MeasurementQueryCriteria criteria) |
Here we're dealing with a file that has five-minute averages stored by element. The result we want is a list of lists, where the inner lists are the averages by element. More... | |
override TimeTrackingList< WeightedMeasurementAvgs > | OnFetchHourlyAverages (MeasurementQueryCriteria criteria) |
override TimeTrackingList< WeightedMeasurementAvgs > | OnFetchDailyAverages (MeasurementQueryCriteria criteria) |
override TimeTrackingList< WeightedMeasurementAvgs > | OnFetchMonthlyAverages (MeasurementQueryCriteria criteria) |
override void | OnWriteMeasurements (Apac.Monitoring.Measurements measurements) |
Writes the measurements out to the current bucket. More... | |
override void | OnWriteFiveMinuteAvgs (Apac.Monitoring.WeightedMeasurementAvgs averages) |
Averages are tracked for each five minute bucket in one file for each day. Each file will have 288 averages recorded in it. More... | |
override void | OnWriteHourlyAvgs (Apac.Monitoring.WeightedMeasurementAvgs averages) |
override void | OnWriteDailyAvgs (Apac.Monitoring.WeightedMeasurementAvgs averages) |
override void | OnWriteMonthlyAvgs (Apac.Monitoring.WeightedMeasurementAvgs averages) |
override void | OnWriteAlerts (Alerts alerts) |
override Alerts | OnRetrieveAlerts (bool activeOnly) |
override void | OnPruneRawMeasurements (DateTime cutoffDay) |
override void | Dispose (bool disposing) |
virtual void | OnSettingsChanged () |
Called when [settings changed]. More... | |
![]() | |
override void | OnInitialize (Apac.Configuration.SupervisableConfig config) |
Prompts the supervisable component to initialize itself. More... | |
override void | OnResolveReferences () |
Called when the supervisable component needs to resolve its runtime references to other components. More... | |
override void | OnCheckReferencesStates () |
Called when the supervisable component needs to check the state of its runtime reference components. More... | |
override void | OnStart () |
Prompts the supervisable component to start functioning. More... | |
override void | OnStop () |
Prompts the supervisable component to stop functioning. More... | |
abstract void | OnWriteMeasurements (Measurements measurements) |
abstract void | OnWriteFiveMinuteAvgs (WeightedMeasurementAvgs averages) |
abstract void | OnWriteHourlyAvgs (WeightedMeasurementAvgs averages) |
abstract void | OnWriteDailyAvgs (WeightedMeasurementAvgs averages) |
abstract void | OnWriteMonthlyAvgs (WeightedMeasurementAvgs averages) |
abstract void | OnInitializeDataStore (Configuration.DataStoreConfig config) |
![]() | |
abstract void | OnInitialize (Apac.Configuration.SupervisableConfig config) |
Called when the supervisable component is intitialized. More... | |
virtual void | OnStarting () |
Called when the supervisable component is about to start. This differs from handling OnStart in that this method is called on the supervisor's thread, whereas Start is called on a new thread. Subclasses may override this to do work that is considered initialization work that should be done before all component threads are started. More... | |
virtual void | OnStateChanging (SupervisableState currentState, SupervisableState newState) |
Call chain for state changing notification. More... | |
virtual void | OnStateChanged (SupervisableState previousState, SupervisableState newState) |
Call chain for state changed notification. More... | |
virtual void | OnException (Exception ex) |
Call chain for exception notification. More... | |
void | SetState (SupervisableState newState) |
Changes the state of the controller to the new state. More... | |
virtual void | OnStateChangeStarting () |
virtual void | OnStateChangeRunning () |
virtual void | OnStateChangeStopping () |
virtual void | OnStateChangeStopped () |
virtual void | OnStateChangeInitializing () |
virtual void | OnStateChangeInitialized () |
virtual void | OnStateChangeErrored () |
virtual void | OnStateChangeImpaired () |
void | HandleException (string message, Exception e) |
Deals with the details of handling exceptions captured by the controller. More... | |
void | ResetException () |
Allows subclasses to reset the last exception to an empty state. More... | |
void | HandleImpairment (string message, Exception e) |
Deals with the details of handling non-critical problems captured by the controller. More... | |
Properties | |
Settings.EcopSettings | Settings [get] |
Gets the settings. More... | |
Settings.Configuration | CurrentConfiguration [get] |
Should get the currently held settings. More... | |
![]() | |
AlertCache | AlertCache [get] |
Gets the alert cache. More... | |
string? | Location [get] |
In this store implementation this property indicates the directory for the data file(s). The name of the data files is determined internally. This path also indicates where the mappings file can be located. More... | |
![]() | |
string | Name [get] |
Gets the name of the controller, as specified by configuration. Note that if the name is not specified, then an index will be used. More... | |
string | Description [get] |
Gets the description of the controller, as specified by configuration. More... | |
bool | Prioritized [get] |
Indicates if the supervisable component should be executed on a higher thread priority. More... | |
DateTime | LastHeartbeat [get] |
The time of the last heartbeat. More... | |
Supervisors.ISupervisor | ExecutiveSupervisor [get] |
Walks the tree to find the top level supervisor. More... | |
bool | IsRunning [get] |
Gets a value indicating whether this instance is running. More... | |
SupervisableState | CurrentState [get] |
Gets the current overall state of the controller. More... | |
SupervisableState | PreviousState [get] |
Gets the previous overall state of the controller. More... | |
Exception | LastException [get] |
Gets the last exception encountered within the controller. More... | |
DateTime | StartTime [get] |
Gets the time this supervisable component was started. More... | |
DateTime | StopTime [get] |
Gets the time this supervisable component was stopped. More... | |
TimeSpan | UpTime [get] |
Gets the amount of time this supervisable component has been running, or did run before it was stopped (if IsRunning is false ). More... | |
Supervisors.ISupervisor | Supervisor [get] |
Gets the supervisor. More... | |
SupervisableConfig | Config [get] |
The configuration object used by the supervisable component. More... | |
log4net.ILog | Log [get] |
Lazy-initialized logger for subclass usage. More... | |
![]() | |
string | Name [get] |
The name of the component, for unique identification purposes. More... | |
string | Description [get] |
The description of the component, for human consumption. More... | |
bool | Prioritized [get] |
Indicates if the component should be high priority. More... | |
Supervisors.ISupervisor | ExecutiveSupervisor [get] |
Walks the tree to find the top level supervisor. More... | |
bool | IsRunning [get] |
Indicates that the component is running. More... | |
DateTime | LastHeartbeat [get] |
DateTime | StartTime [get] |
Gets the time this supervisable component was started. More... | |
DateTime | StopTime [get] |
Gets the time this supervisable component was stopped. More... | |
TimeSpan | UpTime [get] |
Gets the amount of time this supervisable component has been running, or did run before it was stopped (if IsRunning is false ). More... | |
SupervisableState | CurrentState [get] |
Gets the current SupervisableState of this component. More... | |
SupervisableState | PreviousState [get] |
Gets the previous SupervisableState of this component. More... | |
Exception | LastException [get] |
Gets the last exception to have occurred and been trapped by this component. More... | |
![]() | |
string | Location [get] |
![]() | |
Monitoring.AlertCache | AlertCache [get] |
Gets the alert cache. More... | |
![]() | |
Settings.Configuration | CurrentConfiguration [get] |
Should get the currently held settings. More... | |
Events | |
SettingsChangedHandler | SettingsChanged |
Occurs when any settings have changed. More... | |
![]() | |
SupervisableStateChangingHandler | SupervisableStateChanging |
Notifies listeners that the state is about to change. More... | |
SupervisableStateChangedHandler | SupervisableStateChanged |
Notifies listeners that the state has changed. More... | |
SupervisableErroredHandler | SupervisableErrored |
Notifies listeners that an error occured within the controller. More... | |
SupervisableHeartbeatHandler | SupervisableHeartbeat |
Notifies listeners that the component is still active. More... | |
![]() | |
SupervisableStateChangingHandler | SupervisableStateChanging |
Notifies listeners that the state is about to change. More... | |
SupervisableStateChangedHandler | SupervisableStateChanged |
Notifies listeners that the state has changed. More... | |
SupervisableErroredHandler | SupervisableErrored |
Notifies listeners that an error occured within the controller. More... | |
SupervisableHeartbeatHandler | SupervisableHeartbeat |
Notifies listeners that the component is still active. More... | |
![]() | |
SettingsChangedHandler | SettingsChanged |
Occurs when any settings have changed. More... | |
Additional Inherited Members | |
![]() | |
volatile Configuration.DataStoreConfig | _config = null |
Implements a measurement store on a set of XML files in a directory structure. The main goal of this implementation is to provide a working prototype store that can be used to analyze issues related to storing measurements.
|
inline |
Should promote configuration changes that have been persisted to the runtime environment. This allows simple edits by the user to result in atomic commits of each change without reloading the entire system before all edits are complete.
Implements Apac.Data.ISettingsStore.
|
inline |
Makes the mappings with the given name become the active mappings.
true
if successful, false
otherwise.Implements Apac.Data.ISettingsStore.
|
inline |
Should make a copy of the mappings with origName giving the copy the name of copyName .
origName | |
copyName |
Implements Apac.Data.ISettingsStore.
|
inline |
Deletes the action.
action | The action. |
|
inline |
Deletes the actions associated with the event def.
eventDef | The event def. |
|
inline |
Should delete the specified mappings unless they are the active mappings. Then an InvalidOperationException is thrown.
name |
Implements Apac.Data.ISettingsStore.
|
inline |
Deletes the event def.
eventDef | The event def. |
|
inline |
Should remove the given element from the datastore.
element | The Apac.Monitoring.ManagedElement to be removed. |
|
inline |
Should delete the given mapping from the store.
mapping | The MeasurementMapping to be deleted. |
Implements Apac.Data.ISettingsStore.
|
inline |
Deletes the sensor.
sensor | The sensor. |
|
inline |
|
inline |
Gets the actions.
elementId | The element id. |
eventId | The event id. |
Implements Apac.Data.ISettingsStore.
|
inline |
Gets the client settings.
userid | The userid. |
|
inline |
|
inline |
|
inline |
Gets the event def.
eventId | The event id. |
Implements Apac.Data.ISettingsStore.
|
inline |
Gets all event defs.
Implements Apac.Data.ISettingsStore.
|
inline |
Retrieves the managed element specified by id .
id | The datastore identifier for the required Apac.Monitoring.ManagedElement. |
null
.Implements Apac.Data.ISettingsStore.
|
inline |
Should return a list of all managed elements in the system.
Implements Apac.Data.ISettingsStore.
|
inline |
Finds and returns the requested set of mappings.
name | The name of the mappings to return. |
null
.Implements Apac.Data.ISettingsStore.
|
inline |
Gets the sensor with the specified ID.
id | The sensor id. |
null
. Implements Apac.Data.ISettingsStore.
|
inline |
Gets all sensors.
configId | The config id. |
activeOnly | if set to true only active sensors are returned. |
Implements Apac.Data.ISettingsStore.
|
inline |
Gets the thresholds.
elementId | The element id. |
Implements Apac.Data.ISettingsStore.
|
inline |
Looks up the mapping by sensor source.
source | The name of the supervisable that is reading the sensor. |
sensorId | The sensor id. |
Implements Apac.Data.ISettingsStore.
|
inline |
Should perform a store-specific lookup for a mapping (regardless of state) for the given element identifier.
elementId | The element for which the mapping is to be found. |
Implements Apac.Data.ISettingsStore.
|
inlineprotectedvirtual |
Close all files we've tracked.
Implements Apac.Data.ThreadedMeasurementStore.
|
inlineprotectedvirtual |
Here we're dealing with a file that has five-minute averages stored by element. The result we want is a list of lists, where the inner lists are the averages by element.
criteria |
Implements Apac.Data.ThreadedMeasurementStore.
|
inlineprotectedvirtual |
Returns the latest batch of measurements that have come in from the compiler, or null
if no measurements have come in.
criteria | The criteria for matching measurements, if null then the latest batch will be returned, otherwise the criteria will determine the returned data set. |
Implements Apac.Data.ThreadedMeasurementStore.
|
inlineprotected |
Performs initialization for this data store by ensuring the given location exists and that it contains a valid mapping file.
config | The configuration parameters for use during component operations. |
|
inlineprotectedvirtual |
Opens the store.
Implements Apac.Data.ThreadedMeasurementStore.
|
inlineprotectedvirtual |
Called when [settings changed].
|
inlineprotected |
Averages are tracked for each five minute bucket in one file for each day. Each file will have 288 averages recorded in it.
averages | The averages to record. |
|
inlineprotected |
Writes the measurements out to the current bucket.
measurements | The measurements to be written. |
|
inline |
Persists the action.
action | The action. |
true
if the write was successfull.
|
inline |
Persistes the event def.
eventDef | The event def. |
true
if the write was successfull.
|
inline |
Creates or updates the given element in the datastore for use in setting up mappings to incoming data.
element | The Apac.Monitoring.ManagedElement to be persisted. |
true
if successful, false
otherwise.
|
inline |
Should write the given mapping to the store.
mapping | The mapping to be written. |
oldmapping | The old mapping used to determine what row to update. |
true
if the write was successfull. Implements Apac.Data.ISettingsStore.
|
inline |
Writes the given mappings to the appropriate file.
mappings | The mappings to be written. |
true
if succesful, false
otherwise.Implements Apac.Data.ISettingsStore.
|
inline |
Persists the sensor.
sensor | The sensor. |
|
inline |
Perists the threshold.
threshold | The threshold. |
true
if the write was successfull.
|
inline |
Should save the given configuration to the data store.
config | The Settings.Configuration to be saved. |
activate | Indicates if the configuration should be promoted to the runtime system. |
|
get |
Should get the currently held settings.
|
get |
Gets the settings.
SettingsChangedHandler Apac.Data.XmlFileStore.SettingsChanged |
Occurs when any settings have changed.