"manik.surtani(a)jboss.com" wrote : "jason.greene(a)jboss.com" wrote :
| | CacheSession session = cache.getCacheSession();
| | session.setOption(BLAH_ENUM);
| | session.put(x,y);
| |
|
| That's not a lot different from your getAdvanced(), except that the new interface
allows you to set options in a separate method rather than an overloaded method. And then
sticks it in a thread-local. :)
|
|
No there is no thread local. The session object in this case would be a normal object,
with fields for the current option.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205950#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...