[jbossts-issues] [JBoss JIRA] (JBTM-2177) Improve clone API for mvcc instances

Mark Little (JIRA) issues at jboss.org
Wed May 14 14:15:57 EDT 2014

Mark Little created JBTM-2177:

             Summary: Improve clone API for mvcc instances
                 Key: JBTM-2177
                 URL: https://issues.jboss.org/browse/JBTM-2177
             Project: JBoss Transaction Manager
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: STM
    Affects Versions: 5.0.1
            Reporter: Mark Little
            Assignee: Mark Little

Currently you need to use the clone method on Container and pass in an "empty" instance of the type to clone into. With Pessimistic cc this instance is ignored, whereas with Optimistic we use it to create a new handle. Maybe use Cloneable instead on the implementation class and simplify the clone operation?

This message was sent by Atlassian JIRA

More information about the jbossts-issues mailing list