![]() |
ATLAS Offline Software
|
#include <POOLCore/Transaction.h>
Public Types | |
| enum | Type { TRANSACT_DOM = 1<<0, TRANSACT_DB = 1<<1, TRANSACT_CNT = 1<<2, TRANSACT_NONE = 1<<4 } |
| enum | Action { TRANSACT_START = 1<<8, TRANSACT_ACTIVE = 1<<9, TRANSACT_COMMIT = 1<<10, TRANSACT_FLUSH = 1<<11, TRANSACT_ROLLBACK = 1<<12, TRANSACT_ENDED = 1<<13 } |
| enum | Mode { AUTOCOMMIT_OFF = 1<<16, AUTOCOMMIT_ON = 1<<17 } |
Public Member Functions | |
| int | technology () const |
| Access to the technology type. More... | |
| virtual Action | state () const =0 |
| Access to the state of the transaction. More... | |
| virtual Type | type () const =0 |
| Access to the transaction type. More... | |
Static Public Member Functions | |
| static const char * | actionAsString (Action action) |
| Translate Action to string. More... | |
Protected Member Functions | |
| Transaction () | |
| Standard empty constructor. More... | |
| virtual | ~Transaction () |
| Destructor (called only by sub-classes) More... | |
Protected Attributes | |
| int | m_technology |
| Technology type. More... | |
Private Member Functions | |
| Transaction (const Transaction &c) | |
| No copy constructor. More... | |
| Transaction & | operator= (const Transaction &c) |
| No assignment. More... | |
| bool | operator== (const Transaction &c) const |
| No equals operator. More... | |
| Enumerator | |
|---|---|
| TRANSACT_START | |
| TRANSACT_ACTIVE | |
| TRANSACT_COMMIT | |
| TRANSACT_FLUSH | |
| TRANSACT_ROLLBACK | |
| TRANSACT_ENDED | |
Definition at line 34 of file Transaction.h.
| Enumerator | |
|---|---|
| AUTOCOMMIT_OFF | |
| AUTOCOMMIT_ON | |
Definition at line 42 of file Transaction.h.
| Enumerator | |
|---|---|
| TRANSACT_DOM | |
| TRANSACT_DB | |
| TRANSACT_CNT | |
| TRANSACT_NONE | |
Definition at line 28 of file Transaction.h.
|
private |
No copy constructor.
|
inlineprotected |
|
inlineprotectedvirtual |
Translate Action to string.
|
private |
No assignment.
|
private |
No equals operator.
|
pure virtual |
Access to the state of the transaction.
|
inline |
|
pure virtual |
Access to the transaction type.
|
protected |
Technology type.
Definition at line 48 of file Transaction.h.
1.8.18