开发者

GenericObjectPool monitoring and administration via JMX

开发者 https://www.devze.com 2023-03-02 19:54 出处:网络
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 administr

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 p开发者_运维知识库ool 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消