users@glassfish.java.net

Re: Using params passed to monitoring infrastructure to list dyn

From: <forums_at_java.net>
Date: Mon, 11 Apr 2011 10:44:13 -0500 (CDT)

Cheers for that, I've reread that and I think I've spotted what I was
missing. I register one probe that takes a param, and then multiple
listeners, each initialised with the value of the param it should map to and
its position within the tree. Therefore, when an event is activated on the
probe, each listener is called, but only the one looking for the param
actually does something to its stats.

Is this how you envisaged it? Its a shame that the StatsImpl is restricted as
this would be ideal for returning multiple values - in fact I can't
understand what it does as nothing uses (or can use) it.

 

Thanks

 

John

 


--
[Message sent by forum member 'jsl123']
View Post: http://forums.java.net/node/790574