Transactions and Transactional Objects
[UTIL]

Collaboration diagram for Transactions and Transactional Objects:


Detailed Description

The idea of ITransactional and ITransactionalRegistry is that both form a pair of associated objects.

When Transaction goes out of scope it informs subjects of transaction that they are free of the transaction context.

  {{
  File        f1, f2;
  Transaction tr;
  f1.SetTransaction(tr);
  f2.SetTransaction(tr);
  ...... // do something with f1,f2
  tr.Commit();
  }}           <---- here transaction goes out of scope and
                     all associated objects(transactional) are 
                     free (from transaction)
     Transaction in this case is derived from:
                    ITransaction + ITransactionalRegistry
     File  is derived of ITransactional
  


Classes

class  ITransaction
 Transaction interface. More...
class  ITransactional
 Interface for transactional objects. More...
class  ITransactionalRegistry
 Registration of transactional objects. More...
class  CThreadLocalTransactional
 Thread local transactional object. More...


Generated on Thu Feb 12 00:57:49 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Thu Feb 12 01:05:45 2009 by modify_doxy.py rev. 117643