[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Why do messages destined for paging not get assigned mes
clebert.suconic@jboss.com
do-not-reply at jboss.com
Thu Sep 25 13:56:11 EDT 2008
As soon as you're done with your changes I will simplify it (if you haven't done so already).
As we were talking on IRC, we could just set counter as (System.currentTimeMillis() & MASK_TIME) << 32), and aways get IDs from there with a simple counter.incrementAndGet(). That would be enough to guarantee uniqueIDs on the Node after a restart.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178891#4178891
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178891
More information about the jboss-dev-forums
mailing list