#include <CdbCommandTrans.hh>
Inheritance diagram for CdbCommandTrans:

Public Member Functions | |
| virtual | ~CdbCommandTrans () |
| Destructor. | |
| virtual CdbStatus | start ()=0 |
| Start a new transaction. | |
| virtual CdbStatus | commit ()=0 |
| Commit an active transaction. | |
| virtual CdbStatus | commitAndHold ()=0 |
| Commit and hold an active transaction. | |
| virtual CdbStatus | abort ()=0 |
| Abort an active transaction. | |
Protected Member Functions | |
| CdbCommandTrans () | |
| Constructor. | |
Concrete incarnations of the pure virtual methods defined in this class will implement the corresponding transaction management policies.
NOTES: (1) The actual implementations of operations provided through this . interface will vary.
(2) Always check the status value returned by the operations.
Definition at line 19 of file CdbCommandTrans.hh.
|
|
Destructor.
Definition at line 16 of file CdbCommandTrans.cc. |
|
|
Constructor.
Definition at line 13 of file CdbCommandTrans.cc. |
|
|
Abort an active transaction.
Implemented in CdbCommandTransReadOrUpdate, and CdbCommandTransVoid. Referenced by CdbCommandBase::execute(). |
|
|
Commit an active transaction.
Implemented in CdbCommandTransReadOrUpdate, and CdbCommandTransVoid. Referenced by CdbCommandBase::checkpoint(), and CdbCommandBase::execute(). |
|
|
Commit and hold an active transaction.
Implemented in CdbCommandTransReadOrUpdate, and CdbCommandTransVoid. Referenced by CdbCommandBase::checkpoint(). |
|
|
Start a new transaction.
Implemented in CdbCommandTransReadOrUpdate, and CdbCommandTransVoid. Referenced by CdbCommandBase::checkpoint(), and CdbCommandBase::execute(). |
1.3-rc3