[jboss-jira] [JBoss JIRA] Created: (JBCACHE-788) Optimistic locking should not REQUIRE transactions!

Manik Surtani (JIRA) jira-events at jboss.com
Tue Sep 26 10:38:41 EDT 2006


Optimistic locking should not REQUIRE transactions!
---------------------------------------------------

                 Key: JBCACHE-788
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-788
             Project: JBoss Cache
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
    Affects Versions: 1.4.0, 1.3.0, 2.0.0
            Reporter: Manik Surtani
         Assigned To: Manik Surtani
             Fix For: 2.1.0


Makes things simpler.

TXs are only used so transaction workspaces can be stored in a transaction entry.  This workspace can just as easily be stored in ThreadLocal for non-tx calls (that just have the lifespan of a single invocation).

This will:

1) Make things a LOT quicker since we don't need 2PC for all calls.
2) Make the TxInterceptor a lot simpler
3) Allow the use of Opt Locking without a TM

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list