Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does JConsole decide what order to use JMX keys to render a tree?

When viewing JMX beans in JConsole it renders all the beans under a given domain part as a hierarchy. (JVisualVM has the same behaviour with the JConsole MBeans plugin.)

I realise that JMX object names are not hierarchical, but nevertheless JConsole is picking the keys in some order so that it can render them hierarchically.

Does anybody know what rules it uses to order the keys? It doesn't seem to be left-to-right or alphabetical.

Thanks.

like image 535
dty Avatar asked Oct 05 '10 06:10

dty


1 Answers

It probably lays it out according the JMX ObjectName conventions from the JMX Best Practices Guide.

like image 199
Michael Barker Avatar answered Sep 28 '22 01:09

Michael Barker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!