MySQL Forums
Forum List  »  NDB clusters

Re: ClusterJ multi thread java programming
Posted by: Craig Russell
Date: April 18, 2015 05:39PM

Hi Arco,

You might find the clusterj test case to be of interest. In the clusterj-test maven project, testsuite.clusterj.MultithreadedTest implements transactions and a non-locking approach to guarantee that the same row is not updated simultaneously.

You probably won't want to use the non-locking approach but the transaction handling should be a good model.

Regards,

Craig

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: ClusterJ multi thread java programming
1107
April 18, 2015 05:39PM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.