AP&C API Reference
Namespaces | Classes | Functions
Apac.Data Namespace Reference

Classes

class  AlertingPostProcessor
 Processes thresholds for alert states, maintains the active alert cache, and calls any configured actions for those event states. More...
 
class  ChainedMeasurementAnalyzer
 Implements an analyzer that is built of individual analyzers chained together to perform a complex analysis that can be configured to include or exclude certain steps in different scenarios. More...
 
class  DatabaseStore
 Implements a (hopefully) data provider agnostic store for keeping ECOP data in an RDBMS. The goal here is to provide a data store implementation that can be used to scale ECOP from its current scope to an enterprise scope by altering the RDBMS underneath. The nirvana is a one-class-for-all-RDBMS-systems but that is not practical due to the different SQL syntax details, so the basic framework exists in this class and the formulation of the SQL exists in a class for each specific RDMBS system. This should at least reduce the amount of code and the behavioral differences between the different types of systems. More...
 
class  DateRange
 Models a contiguous range of dates and/or times. More...
 
class  FirebirdStore
 Implements a (hopefully) data provider agnostic store for keeping ECOP data in an RDBMS. The goal here is to provide a data store implementation that can be used to scale ECOP from its current scope to an enterprise scope by altering the RDBMS underneath. More...
 
interface  IAlertManager
 
interface  IAuthStore
 The contract required by all concrete user stores. More...
 
interface  IDataAnalyzer
 Defines the basic contract required to perform data analysis for thresholds, frequencies, durations, etc. More...
 
interface  IDataCompiler
 The contract to be implemented by data compiling entities (processing raw data from IControllers. More...
 
interface  IDataStore
 The contract to be implemented by basic data storage entities. More...
 
interface  IMeasurementFormula
 The contract to be used by entities providing formulae for determining measurement values. More...
 
interface  IMeasurementQuery
 The contract to be implemented by entities supporting queries for measurements and averages. More...
 
interface  IMeasurementStore
 The contract to be implemented by entities providing access to the store of measurements maintained by the system. More...
 
interface  ISettingsStore
 The contract required by all concrete setting stores. More...
 
class  MeasurementFormula
 Provides a base implementation of a measurement formula that reflects against the subclass's attributes to provide values for common properties. More...
 
class  MeasurementQueryCriteria
 
class  StandardCompiler
 This is the standard data compiler implementation for 16-bit values. It keeps short-lived groups of data to compile weighted averages into progressively longer-term numbers that range from 5-minute averages up to monthly averages. More...
 
class  ThreadedCompilationEngine
 
class  ThreadedMeasurementStore
 The base implementation of a buffered, threaded measurement store. This class deals with all of the queueing and thread management for a store that will be called from another thread that must not be delayed while the store does its work. More...
 
class  ThreadedPostProcessingEngine
 Provides the core features for post-processing measurements and averages that pass through a compiler. This is implemented by listening for compiler events and queueing work when they fire. More...
 
class  ValueRange
 Defines a range of values with an upper and lower boundary. More...
 
class  XmlFileStore
 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...
 

Functions

delegate void MeasurementsCompiledHandler (Apac.Monitoring.Measurements measurements)
 
delegate void FiveMinAvgsCompiledHandler (Apac.Monitoring.ITimeStamped fiveminavgs)
 
delegate void HourlyAvgsCompiledHandler (Apac.Monitoring.ITimeStamped hourlyavgs)
 
delegate void DailyAvgsCompiledHandler (Apac.Monitoring.ITimeStamped dailyavgs)
 
delegate void MonthlyAvgsCompiledHandler (Apac.Monitoring.ITimeStamped monthlyavgs)
 
delegate void StoreAccessCompleteHandler (Apac.Monitoring.ITimeStamped timestamped)
 Delegate used by asynchronous invocations of the methods that record averages to call back when the they have completed their work. This is useful in scenarios where the caller wants to ensure the data being recorded is completely written before proceeding with a sequence of tasks that depend on that data (eg: compiler writing five minute averages, then loading those averages to compile hourly averages.). More...
 
delegate void SettingsChangedHandler (object sender, EventArgs e)
 

Function Documentation

◆ StoreAccessCompleteHandler()

delegate void Apac.Data.StoreAccessCompleteHandler ( Apac.Monitoring.ITimeStamped  timestamped)

Delegate used by asynchronous invocations of the methods that record averages to call back when the they have completed their work. This is useful in scenarios where the caller wants to ensure the data being recorded is completely written before proceeding with a sequence of tasks that depend on that data (eg: compiler writing five minute averages, then loading those averages to compile hourly averages.).

Parameters
timestampedThe timestamped instance that was recorded.