[infinispan-dev] Adding getMBeanServer to AdvancedCache

Manik Surtani manik at jboss.org
Thu Dec 17 09:08:50 EST 2009


Isn't using JMX to gather this info a bit roundabout?  I mean, we are within the same VM at this stage anyway, and have a handle on the Cache itself... 


On 17 Dec 2009, at 14:02, Galder Zamarreno wrote:

> Hi,
> 
> For implementing the stats command in the memcached txt server, I'm 
> planning to use JMX to get the relevant stats...etc. However, to make 
> sure I hit the right MBeanServer, I thought of adding a getMBeanServer() 
> to AdvancedCache that returns whatever MBeanServer has been used to 
> register the MBeans. The MBeanServer actually comes from the 
> corresponding MBeanServerLookup implementation.
> 
> Has anyone got any objections to this?
> -- 
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
> _______________________________________________
> 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