[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: JBAS-5647 HAPartition Sync Call with RspFilter

bstansberry@jboss.com do-not-reply at jboss.com
Thu Jul 10 13:59:49 EDT 2008


String manipulation?  I was thinking in terms of some kind of map lookup.

Ah, you're creating new ClusterNodeImpls.

If ClusteredNodeImpl.jgId were made volatile and lazy initialized in getJGName() the constructor would be pretty fast.  The getJGName() method isn't even in the ClusterNode interface; I just left the method in the impl when I created the interface just in case someone was using it.

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

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



More information about the jboss-dev-forums mailing list