This content has been marked as final.
Show 2 replies
-
1. Re: JMX Performance
genman Aug 6, 2004 2:16 AM (in response to tomerbd)
There is some indirection and Reflection to get attributes. And there are some byte-code performance tricks which can optimize the call, if you hunt around you can find more data on this.
If you are working within one JVM or with a serializeable object remotely, add a "getInstance" method which returns "this" and you don't have to call the MBeanServer. -
2. Re: JMX Performance
tomerbd Aug 6, 2004 4:11 AM (in response to tomerbd)Well im working on multiple jvm's and i want the updated properties (in case the user has updated them using the GUI/jboss-service.xml so i guess I'll have a listener to the mbean server and my regular method calls (property getters) will return some cached local variables...