NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
impl::CDBExceptionStorage Class Reference

Search Toolkit Book for impl::CDBExceptionStorage

#include "dbapi_driver_exception_storage.hpp"
(Private to src/dbapi/driver.)

+ Collaboration diagram for impl::CDBExceptionStorage:

Public Member Functions

 CDBExceptionStorage (void)
 
 ~CDBExceptionStorage (void) throw ()
 
void Accept (unique_ptr< CDB_Exception > &e)
 
void Handle (const CDBHandlerStack &handler)
 
void Handle (const CDBHandlerStack &handler, const CDB_Exception::SContext *dbg_info=NULL, const CConnection *conn=NULL, const CDBParams *par=NULL)
 
void SetClosingConnect (bool value)
 
bool IsClosingConnect (void) const
 
void SetRetriable (ERetriable retriable)
 
ERetriable GetRetriable (void) const
 
bool GetHasTimeout (void) const
 

Private Attributes

CFastMutex m_Mutex
 
CDB_UserHandler::TExceptions m_Exceptions
 
bool m_ClosingConnect
 
ERetriable m_Retriable
 
bool m_HasTimeout
 

Detailed Description

Definition at line 46 of file dbapi_driver_exception_storage.hpp.

Constructor & Destructor Documentation

◆ CDBExceptionStorage()

impl::CDBExceptionStorage::CDBExceptionStorage ( void  )

Definition at line 60 of file dbapi_driver_exception_storage.cpp.

◆ ~CDBExceptionStorage()

impl::CDBExceptionStorage::~CDBExceptionStorage ( void  )
throw (
)

Member Function Documentation

◆ Accept()

void impl::CDBExceptionStorage::Accept ( unique_ptr< CDB_Exception > &  e)

◆ GetHasTimeout()

bool impl::CDBExceptionStorage::GetHasTimeout ( void  ) const
inline

Definition at line 93 of file dbapi_driver_exception_storage.hpp.

References m_HasTimeout.

◆ GetRetriable()

ERetriable impl::CDBExceptionStorage::GetRetriable ( void  ) const
inline

Definition at line 87 of file dbapi_driver_exception_storage.hpp.

References m_Retriable.

◆ Handle() [1/2]

void impl::CDBExceptionStorage::Handle ( const CDBHandlerStack handler)

◆ Handle() [2/2]

void impl::CDBExceptionStorage::Handle ( const CDBHandlerStack handler,
const CDB_Exception::SContext dbg_info = NULL,
const CConnection conn = NULL,
const CDBParams par = NULL 
)

◆ IsClosingConnect()

bool impl::CDBExceptionStorage::IsClosingConnect ( void  ) const
inline

Definition at line 81 of file dbapi_driver_exception_storage.hpp.

References m_ClosingConnect.

◆ SetClosingConnect()

void impl::CDBExceptionStorage::SetClosingConnect ( bool  value)
inline

Definition at line 75 of file dbapi_driver_exception_storage.hpp.

References m_ClosingConnect, and value.

Referenced by CTL_Connection::Close(), and CTL_Cmd::~CTL_Cmd().

◆ SetRetriable()

void impl::CDBExceptionStorage::SetRetriable ( ERetriable  retriable)

Member Data Documentation

◆ m_ClosingConnect

bool impl::CDBExceptionStorage::m_ClosingConnect
private

Definition at line 67 of file dbapi_driver_exception_storage.hpp.

Referenced by IsClosingConnect(), and SetClosingConnect().

◆ m_Exceptions

CDB_UserHandler::TExceptions impl::CDBExceptionStorage::m_Exceptions
private

Definition at line 66 of file dbapi_driver_exception_storage.hpp.

Referenced by Accept(), and Handle().

◆ m_HasTimeout

bool impl::CDBExceptionStorage::m_HasTimeout
private

Definition at line 69 of file dbapi_driver_exception_storage.hpp.

Referenced by Accept(), GetHasTimeout(), and Handle().

◆ m_Mutex

CFastMutex impl::CDBExceptionStorage::m_Mutex
private

Definition at line 65 of file dbapi_driver_exception_storage.hpp.

Referenced by Accept(), and Handle().

◆ m_Retriable

ERetriable impl::CDBExceptionStorage::m_Retriable
private

Definition at line 68 of file dbapi_driver_exception_storage.hpp.

Referenced by GetRetriable(), Handle(), and SetRetriable().


The documentation for this class was generated from the following files:
Modified on Sat Mar 02 10:53:18 2024 by modify_doxy.py rev. 669887