[infinispan-dev] Global components per CacheManager
Vladimir Blagojevic
vblagoje at redhat.com
Mon Oct 25 10:22:12 EDT 2010
On 2010-10-25, at 6:58 AM, Manik Surtani wrote:
>
> Hmm, shouldn't this be the default? :/
>
> It is true that the global component is a singleton, in this case the global component is the DefaultExecutorFactory.
>
> http://fisheye.jboss.org/browse/Infinispan/branches/4.2.x/core/src/main/java/org/infinispan/executors/DefaultExecutorFactory.java?r=1312#l19
>
> But the factory creates a *new* executor each time it is asked for one.
>
> Perhaps we need a DefaultSharedExecutorFactory, which should be the *real* default?
<sheepishly> I also thought this was the default myself</sheepishly> and then I figured out it wasn't! Good catch!
More information about the infinispan-dev
mailing list