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

2014-07-29 Thread Alan Field
that's not the case. Sorry for the noise, and for my confusion. Thanks, Alan - Original Message - > From: "Alan Field" > To: "infinispan -Dev List" > Sent: Tuesday, July 29, 2014 9:53:42 AM > Subject: Re: [infinispan-dev] Cache.size()

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

2014-07-29 Thread Alan Field
Hey Will, - Original Message - > From: "William Burns" > To: "infinispan -Dev List" > Sent: Monday, July 28, 2014 7:51:27 PM > Subject: Re: [infinispan-dev] Cache.size() on distributed caches? > > I am assuming that you were using a shared cache

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

2014-07-28 Thread William Burns
> 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 >> >> >> On Jul 25, 2014, at 15:40, Radim Vansa wrote: >> >> >

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: ht

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