5d970576da
The utility methods in `org.apache.activemq.artemis.core.management.impl.MBeanInfoHelper` are executed *a lot* - especially for Jolokia which is used by the web console. The `MBeanOperationInfo` and `MBeanAttributeInfo` results are static and reflection is slow therefore they should not be calculated over and over again. Rather they should be calculated once and cached for later use. Caching these results significantly improves performance. Over the course of 1,000,000 invocations the difference is several orders of magnitude. This improves usability substantially when dealing with, for example, tens of thousands of addresses and/or queues. |
||
---|---|---|
.. | ||
src | ||
pom.xml |