gresrun / jesque

An implementation of Resque in Java.
http://gresrun.github.io/jesque
Apache License 2.0
630 stars 131 forks source link

Support JMX monitoring for worker pool status #103

Closed moznion closed 8 years ago

moznion commented 8 years ago

Hello, I implemented a feature to support JMX monitoring about following worker pool status;

How about this?

gresrun commented 8 years ago

@moznion, I like the idea of being able to monitor the WorkerPool but I'm not a fan of introducing a dependency on M(X)Beans in the implementation. I've just checked in a commit that adds methods to see how many workers are working and idle; I'll let your application expose that info as an MBean.