Apama Capital Markets Foundation  9.12.0.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Market Data Clear API

Functions

AP_MDM_API void AP_MDM_ClearSubscriptionData (AP_MDM_Interface *md, const char *subKey)
 
AP_MDM_API void AP_MDM_ClearSourceData (AP_MDM_Interface *md, AP_int64 sourceId)
 
AP_MDM_API void AP_MDM_ClearData (AP_MDM_Interface *md)
 

Detailed Description

Market Data Clear API

Function Documentation

AP_MDM_API void AP_MDM_ClearData ( AP_MDM_Interface md)

Clear all current data.

This will clear the current data NOT the libraries LAST data. You need to call a Commit() to send the clear on to the correlator and clear the LAST data. Or use it when recieving a snapshot.

Parameters
mdThe AP_MDM_Interface to use.
AP_MDM_API void AP_MDM_ClearSourceData ( AP_MDM_Interface md,
AP_int64  sourceId 
)

Clear the current data for a specific source Id.

This will clear the current data NOT the libraries LAST data. You need to call a Commit() to send the clear on to the correlator and clear the LAST data. Or use it when recieving a snapshot.

Parameters
mdThe AP_MDM_Interface to use.
sourceIdThe source Id to clear the data is for.
AP_MDM_API void AP_MDM_ClearSubscriptionData ( AP_MDM_Interface md,
const char *  subKey 
)

Clear the current data for a specific subscription key.

This will clear the current data NOT the libraries LAST data. You need to call a Commit() to send the clear on to the correlator and clear the LAST data. Or use it when recieving a snapshot.

Parameters
mdThe AP_MDM_Interface to use.
subKeyThe subscription key to clear the data is for.