[jboss-user] [JBossCache] - Re: uninitialized nodes

manik.surtani@jboss.com do-not-reply at jboss.com
Mon Jul 16 19:39:32 EDT 2007


"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#4064788

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



More information about the jboss-user mailing list