[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: PagingManagerImpl::getPageStore

clebert.suconic@jboss.com do-not-reply at jboss.com
Thu Nov 13 22:31:09 EST 2008


I made several tests around this method...

you could have eventually few instances created and imediatly destroyed during an initial ramp up, but after the initial load... and the ConcurrentHashMap aways gave enough protection on the Store.

Well... But anyway I have created a new method synchronized createPageStore on the Chunk Branch which is aways used in places where I don't need concurrent calls over the same store. When we create the queue now, the pageStore will be also created.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189272#4189272

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189272



More information about the jboss-dev-forums mailing list