[jboss-user] [JBossCache] - is synchronization of a TreeCache within the same VM necessa
guava
do-not-reply at jboss.com
Fri Jul 21 03:06:31 EDT 2006
Hi,
Is the following synchronization necessary?
TreeCache cache = new TreeCache(channel);
......
// possiblely access from multiple threads
synchronzied ( cache) {
Value v = cache.get(fqn, key);
if ( v != null ) {
// do something
}
}
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959791#3959791
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959791
More information about the jboss-user
mailing list