Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" 
for change notification.

The following page has been changed by OliverZeigermann:
http://wiki.apache.org/jakarta-commons/Brainstorm_Transaction_2%2e0

------------------------------------------------------------------------------
    * keep it slim and rudimentary
    * amounts to a transactional file store out of the box
  
+ Features of transaction implementation:
+  * a transaction is defined by a set of locks, a timeout and some sort of 
resource manager
+  * supply a watchdog thread that takes care of deadlocks and timed out 
transaction
+  * when a transaction is rolled back
+   * the resource manager is told to roll back all changes 
+   * all locks of the lock set are freed
+ 
- Features of the file implementation:
+ Features of the file resource manager implementation:
   * allow for additional guaranteed deadlock free actions on resources
    * move and tree-move
    * copy and tree-copy
    * delete and tree-delete
   * maintain an explicit tree (graph?) structure
   * provide an administration interface based on JMX
+  * change the transaction scheme to perform actions as they are requested and 
maintain a roll back log. In case of commit nothing will be done, in case of a 
rollback all changes will be reverted according to the roll back log. 
Eventually, all locks will be released.
  
  Testing:
   * Testing should be based on JUnit 4

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to