I want to know about Monitor
class in Java.
What is it used for, where is it used?
The Monitor class is an abstract class that is extended by some of the standard MBean classes defined in the javax.management.monitoring
package. It provides infrastructure for configuring the objects monitored/observed by an MBean, and for making those observations.
You normally wouldn't use the Monitor class directly unless you were implementing your own MonitorMBean
classes.
(Note this is "monitor" as in "observe what it going on inside a server" rather than "monitor" as in "concurrent programming primitive".)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With