Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MySQLConnectionPrivate Class Reference

#include <RDBC/blob/master/mysql/MySQLConnectionPrivate.h>

+ Collaboration diagram for MySQLConnectionPrivate:

Public Member Functions

Bool_t CheckIfServerIsAlive ()
 

Private Member Functions

 MySQLConnectionPrivate ()
 

Private Attributes

MYSQL * fMYSQL
 
Bool_t fIsConnected
 
Bool_t fLocked
 
Bool_t fReadOnly
 
TSQLUrl fURL
 
time_t fLastQueryTime
 
Int_t fLoginTimeout
 

Static Private Attributes

static const Int_t fgCheckIfAlive = 3600
 
static Int_t fgMaxAllowedPacket = 65536
 
static Int_t fgNetBufferLength = 16384
 
static Int_t fgMaxReconnects = 3
 
static Int_t fgInitialTimeout = 2.0
 

Friends

class TSQLConnection
 

Detailed Description

Definition at line 13 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 13 of file MySQLConnectionPrivate.h

Constructor & Destructor Documentation

MySQLConnectionPrivate::MySQLConnectionPrivate ( )
inlineprivate

Definition at line 37 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 37 of file MySQLConnectionPrivate.h

References fMYSQL.

Member Function Documentation

Bool_t MySQLConnectionPrivate::CheckIfServerIsAlive ( )

Definition at line 48 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 48 of file MySQLConnectionPrivate.h

References fgCheckIfAlive, fLastQueryTime, and Acts::Test::time.

Referenced by TSQLStatement::Execute(), and TSQLStatement::ExecuteQuery().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class TSQLConnection
friend

Definition at line 15 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 15 of file MySQLConnectionPrivate.h

Member Data Documentation

const Int_t MySQLConnectionPrivate::fgCheckIfAlive = 3600
staticprivate

Definition at line 18 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 18 of file MySQLConnectionPrivate.h

Referenced by CheckIfServerIsAlive().

Int_t MySQLConnectionPrivate::fgInitialTimeout = 2.0
staticprivate

Definition at line 23 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 23 of file MySQLConnectionPrivate.h

Int_t MySQLConnectionPrivate::fgMaxAllowedPacket = 65536
staticprivate

Definition at line 20 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 20 of file MySQLConnectionPrivate.h

Int_t MySQLConnectionPrivate::fgMaxReconnects = 3
staticprivate

Definition at line 22 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 22 of file MySQLConnectionPrivate.h

Int_t MySQLConnectionPrivate::fgNetBufferLength = 16384
staticprivate

Definition at line 21 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 21 of file MySQLConnectionPrivate.h

Bool_t MySQLConnectionPrivate::fIsConnected
private

Definition at line 29 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 29 of file MySQLConnectionPrivate.h

Referenced by TSQLConnection::TSQLConnection().

time_t MySQLConnectionPrivate::fLastQueryTime
private

Definition at line 34 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 34 of file MySQLConnectionPrivate.h

Referenced by CheckIfServerIsAlive().

Bool_t MySQLConnectionPrivate::fLocked
private

Definition at line 30 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 30 of file MySQLConnectionPrivate.h

Referenced by TSQLConnection::TSQLConnection().

Int_t MySQLConnectionPrivate::fLoginTimeout
private

Definition at line 35 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 35 of file MySQLConnectionPrivate.h

Bool_t MySQLConnectionPrivate::fReadOnly
private

Definition at line 32 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 32 of file MySQLConnectionPrivate.h

Referenced by TSQLConnection::IsReadOnly(), and TSQLConnection::SetReadOnly().

TSQLUrl MySQLConnectionPrivate::fURL
private

Definition at line 33 of file MySQLConnectionPrivate.h.

View newest version in sPHENIX GitHub at line 33 of file MySQLConnectionPrivate.h

Referenced by TSQLDatabaseMetaData::GetTables(), and TSQLConnection::SetURL().


The documentation for this class was generated from the following file: