Monitor class in Java

I want to know about the Monitor class in Java.

What is it used for, where is it used?

+7
java
source share
2 answers

The Monitor class is an abstract class that is extended by some standard MBean classes defined in the javax.management.monitoring package. It provides the infrastructure for setting up objects controlled / monitored by an MBean, and for making these observations.

Normally, you will not use the Monitor class directly, unless you implement your own MonitorMBean classes.

(Note that this is a “monitor”, like “watching what is happening inside the server” and not “controlling”, as in the “parallel programming primitive”.)

+5
source share

All Articles