简体   繁体   中英

GenericObjectPool monitoring and administration via JMX

I have some custom java objects in pool, using Apache Commons GenericObjectPool. Its important to see in real-time pool properties, like active objects in pool, and to send notifications for administrator when pool size reach critical value.

I decided to use JMX, and I just wonder, may be already exists some MBean implementations for GenericObjectPool, from Apache or third-party developers.

You can use http://jmxtrans.googlecode.com/ as your JMX query engine. You can use that tool to either send the data to Graphite or write your own output format to send the data to wherever you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM