Re: [infinispan-dev] Cache.size() on distributed caches?

2014-07-25 Thread Mircea Markus
That has changed in ISPN 6: https://issues.jboss.org/browse/ISPN-761 On Jul 25, 2014, at 15:40, Radim Vansa wrote: > I don't think RadarGun is much related to that, besides the fact that it > can be buggy :) > > The question is whether the cache.size() behaviour has changed in a way > that i

Re: [infinispan-dev] Cache.size() on distributed caches?

2014-07-25 Thread Alan Field
OK, thanks Mircea! Alan - Original Message - > From: "Mircea Markus" > To: "infinispan -Dev List" > Sent: Friday, July 25, 2014 4:42:50 PM > Subject: Re: [infinispan-dev] Cache.size() on distributed caches? > > That has changed in ISPN 6: https://issues.jboss.org/browse/ISPN-761 > >

Re: [infinispan-dev] Cache.size() on distributed caches?

2014-07-25 Thread Radim Vansa
I don't think RadarGun is much related to that, besides the fact that it can be buggy :) The question is whether the cache.size() behaviour has changed in a way that i would report full cache size, not just the size of container/the size of cache store? Radim On 07/25/2014 03:54 PM, Alan Fiel

[infinispan-dev] Cache.size() on distributed caches?

2014-07-25 Thread Alan Field
Hey, I have been looking at adding the ability to get the total size of a cache in RadarGun. The first implementation I coded used the distributed iterators in Infinispan 7.[1] I then realized that implementing getTotalSize() method using a distributed executor would allow the code in versions