![]() |
ATLAS Offline Software
|
ITransaction is the interface class for user (macroscopic transactions) Every operation with the pool storage system should be performed within a transaction. More...
#include <PersistencySvc/ITransaction.h>
Public Member Functions | |
| virtual bool | start (Io::IoFlag type=Io::READ)=0 |
| Starts a new transaction. Returns the success of the operation. | |
| virtual bool | commit ()=0 |
| Commits the transaction. | |
| virtual bool | commitAndHold ()=0 |
| Commits the holds transaction. | |
| virtual bool | isActive () const =0 |
| Checks if the transaction is active. | |
| virtual Io::IoFlag | type () const =0 |
| Returns the transaction type. | |
Protected Member Functions | |
| virtual | ~ITransaction ()=default |
| Default destructor. | |
ITransaction is the interface class for user (macroscopic transactions) Every operation with the pool storage system should be performed within a transaction.
Definition at line 21 of file ITransaction.h.
|
protectedvirtualdefault |
Default destructor.
|
pure virtual |
Commits the transaction.
Implemented in pool::UserSession.
|
pure virtual |
Commits the holds transaction.
Implemented in pool::UserSession.
|
pure virtual |
Checks if the transaction is active.
Implemented in pool::UserSession.
|
pure virtual |
Starts a new transaction. Returns the success of the operation.
Implemented in pool::UserSession.
|
pure virtual |
Returns the transaction type.
Implemented in pool::UserSession.