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.
No. JBoss Cache deals with concurrent access internally.