[infinispan-dev] ManagedAttributes in DefautlCacheManager

Manik Surtani manik at jboss.org
Mon Jul 6 14:00:56 EDT 2009


These are unit tested, right?

On 23 Jun 2009, at 10:50, Mircea Markus wrote:

> Heiko W.Rupp wrote:
>> Hi,
>>
>> why are those strings?
>>
>> @ManagedAttribute(description = "number of running caches")
>> public String getCreatedCacheCount() {
>>  return String.valueOf(this.caches.keySet().size());
>> }
>>
>>
>> @ManagedAttribute(description = "the total number of defined caches")
>> public String getDefinedCacheCount() {
>>  return String.valueOf(this.configurationOverrides.keySet().size());
>> }
>>
>>
>> I think something numerical would be better - can I change that?
> Sure, go ahead :)
>>
>> Heiko
>>
>> -- Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach  
>> bei München
>> Handelsregister: Amtsgericht München HRB 153243
>> Geschaeftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,  
>> Charles Cachera
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org








More information about the infinispan-dev mailing list