"genman" wrote :
| There really should be options you can set to override loading from the cache loader,
or for ignoring the return values for Node.put(key, value) or Node.remove(key) .
|
Yes, but then you change the behaviour of put() and remove(), which IMO should not be
controlled by an option. Perahps add a putQuietly() or removeQuietly() that have return
types of void, although this clutters up the API which sucks.
"genman" wrote :
| It would be nice if there was a "disable()" method on Interceptor.
Interceptor.invoke() might have been public/final and delegated to a protected abstract
method ...
Well, unless disabling was conditional (i.e., disable for all get() calls) you may as well
yank the interceptor out of the chain.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064788#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...