On 8 Jul 2008, at 18:41, Galder Zamarreno wrote:
By the way, with the email below, I'm assuming that there's a
least
a few of the CommandInterceptor instances that are created at
runtime and the same instance is used throughout all cache lifespan.
I dunno whether any of this CommandInterceptor instances are created
on a per invocation basis. If they are, they can safely cache
log.isTraceEnabled() as the duration of the CommandInterceptor
instance is short. I doubt this is the case though.
CommandInterceptors are constructed at build time. It is a finite set
based on the cfg used, anywhere between 4 and 10 interceptors.
Cheers
--
Manik Surtani
Lead, JBoss Cache
manik(a)jboss.org