#include <AlephDbManager.h>
Inheritance diagram for AlephDbManager:
Public Methods | |
virtual AlephRC | initialize () |
the initialization step. More... | |
virtual AlephRC | terminate () |
the terminating step. More... | |
virtual AlephTransaction | transactionType () const |
get the current transaction type. More... | |
virtual void | setTransactionType (const AlephTransaction &transType) |
set the current transaction type. More... | |
virtual AlephRC | startTransaction (const AlephTransaction &transType) |
start a transaction, transType = READING or UPDATE. More... | |
virtual AlephRC | stopTransaction () |
stop the current transaction, sets transType to HALTED. More... | |
virtual AlephRC | commitAndHoldTransaction () |
do a commit and hold. More... | |
virtual AlephRC | openExistingDb (const vector< string > &aDbName, const string &mode="TRANSTY") |
open an existing database. More... | |
virtual AlephRC | openNewDb (const string &aDbName) |
open a new database. More... | |
virtual string | dbName () const |
return the name of the current database. More... | |
virtual void | setDbName (const string &aDbName) |
set the name of the current database. More... | |
virtual AlephRC | StoreEvent (AlphaBanks *event) |
store an event. More... | |
virtual AlephRC | GetEvent (AlphaBanks *) |
get the next event. More... | |
Static Public Methods | |
AlephManager* | TheAlephDbManager () |
the instance function of the Singleton. More... | |
Protected Methods | |
AlephDbManager () | |
virtual | ~AlephDbManager () |
Private Attributes | |
string | _dbName |
AlephTransaction | _theTransactionType |
Static Private Attributes | |
AlephManager* | _theAlephDbManager = 0 |
Definition at line 26 of file AlephDbManager.h.
|
Definition at line 88 of file AlephDbManager.cpp. |
|
Definition at line 99 of file AlephDbManager.cpp. |
|
get the next event.
Reimplemented in AlephROOTDbManager. Definition at line 223 of file AlephDbManager.cpp. Referenced by AlephROOTExManager::loopAllRead(), and AlephROOTExManager::loopInterRead().
|
|
store an event.
Reimplemented in AlephROOTDbManager. Definition at line 217 of file AlephDbManager.cpp. |
|
the instance function of the Singleton.
Definition at line 28 of file AlephDbManager.cpp. Referenced by AlephSession::initialize().
|
|
do a commit and hold.
Definition at line 174 of file AlephDbManager.cpp. |
|
return the name of the current database.
Definition at line 202 of file AlephDbManager.cpp. |
|
the initialization step.
Reimplemented from AlephManager. Reimplemented in AlephROOTDbManager. Definition at line 108 of file AlephDbManager.cpp. |
|
open an existing database.
Reimplemented in AlephROOTDbManager. Definition at line 183 of file AlephDbManager.cpp. |
|
open a new database.
Reimplemented in AlephROOTDbManager. Definition at line 193 of file AlephDbManager.cpp. |
|
set the name of the current database.
Definition at line 211 of file AlephDbManager.cpp. Referenced by AlephROOTDbManager::openExistingDb(), AlephROOTDbManager::openNewDb(), and AlephROOTDbManager::terminate().
|
|
set the current transaction type.
Definition at line 144 of file AlephDbManager.cpp. Referenced by startTransaction(), and stopTransaction().
|
|
start a transaction, transType = READING or UPDATE.
Definition at line 152 of file AlephDbManager.cpp. Referenced by initialize(), AlephROOTExManager::loopAllRead(), AlephEpioExManager::loopAllRead(), AlephEpioExManager::loopAllWrite(), AlephROOTExManager::loopInterRead(), and AlephEpioExManager::loopInterRead().
|
|
stop the current transaction, sets transType to HALTED.
Definition at line 163 of file AlephDbManager.cpp. Referenced by AlephROOTExManager::loopAllRead(), AlephEpioExManager::loopAllRead(), AlephEpioExManager::loopAllWrite(), AlephROOTExManager::loopInterRead(), AlephEpioExManager::loopInterRead(), and terminate().
|
|
the terminating step.
Reimplemented from AlephManager. Reimplemented in AlephROOTDbManager. Definition at line 122 of file AlephDbManager.cpp. |
|
get the current transaction type.
Definition at line 136 of file AlephDbManager.cpp. |
|
Definition at line 69 of file AlephDbManager.h. |
|
Definition at line 23 of file AlephDbManager.cpp. |
|
Definition at line 71 of file AlephDbManager.h. |