[infinispan-dev] MBeans (was Management interface)

Manik Surtani manik at jboss.org
Sat May 16 05:13:59 EDT 2009


On 16 May 2009, at 08:22, Heiko W.Rupp wrote:

>
> Am 16.05.2009 um 01:14 schrieb Manik Surtani:
>
>> Some components are global (i.e., they are shared by all caches  
>> created by the same cache manager).  Others are scoped to the  
>> specific cache, in which case you would see the cache name instead  
>> of [global].
>
> Ok. I don't mind seeing an Mbean name with 'global' and brackets in  
> it.
>
> Where we need pay attention is that the name should not change over  
> time
> or at least have enough unique components.
> If a cache could have a run state that is expressed by the xx in  
> 'myCustomCache(xx)',
> I'd rather expose that as an MBean attribute than as a part of the  
> name

Run state?  You referring to cache mode?  Yes, this can be expressed  
as a separate MBean.  Perhaps the Configuration should be an MBean so  
that you get this plus any other config information via JMX.

Cheers
--
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