- All Implemented Interfaces:
- Runnable
- Enclosing class:
- JMXAdaptor
public class JMXAdaptor.JMXTimer
extends TimerTask
A TimerTask which queries the mbean server for all mbeans that match the pattern specified in
the JMXAdaptor arguments, constructs a json object of all data and sends it as a chunk. The
CompositeType, TabularType and Array open mbean types return the numerical values (sizes).
This task is scheduled to run at the interval specified in the adaptor arguments. If the
connection to mbean server is broken, this task cancels the existing timer and tries to
re-connect to the mbean server.