Proud::IDbmsAccessEvent Class Referenceabstract

DBMS Interface class of object that receives event when it access. More...

Public Member Functions

virtual void OnQueryDelayed (const PNTCHAR *lpszcommand, const ::timespec &curtime, int64_t queryDelayMs)=0
 

Detailed Description

DBMS Interface class of object that receives event when it access.

  • User inherits this interface and receives notification of event.
  • Refer to Tracking ADO operation for more details.

Member Function Documentation

virtual void Proud::IDbmsAccessEvent::OnQueryDelayed ( const PNTCHAR *  lpszcommand,
const ::timespec curtime,
int64_t  queryDelayMs 
)
pure virtual

This method callbacks when it spots any delayed command while using ADO Wrapper API.

Parameters
lpszcommandThe list of commands in use. They are either in query or procedure name.
curtimeThe exact time of a delayed command detected.
queryDelayMsThe delayted time of command being used (in milliseconds).