[jboss-dev-forums] [Design of POJO Server] - Re: Metrics - runtime statistics
adrian@jboss.org
do-not-reply at jboss.com
Wed May 16 13:12:44 EDT 2007
"bytor99999" wrote : When we were discussing the runtime statistics, I believe it was brought up that they would be returned as ManagedProperties.
They'll be liked ManagedProperties, but you don't need all the support for changing
them :-)
e.g. psuedo code:
| public interface ManagedObject
| {
| // ...
|
| Map<ServerName, List<MetaValue>> getStatistics();
| }
|
What is required is a way to refresh (re-retreive them from the server -
perhaps individually) and also being able to understand that the statistics are
available multiple times from the different servers in the cluster where the object is deployed.
Where they do look more like ManagedProperties is the ability to annotate
parts of them to explain how they should be used, e.g.
whether the statistic (or a component of the statistic)
is monotonic (always increasing) or random
or whether the it is an average, etc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046232#4046232
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046232
More information about the jboss-dev-forums
mailing list