commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Jakarta-commons Wiki] Update of "Brainstorm Transaction 2.0" by OliverZeigermann
Date Wed, 18 Apr 2007 20:03:17 GMT
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:

    * 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 should be based on JUnit 4

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message