Monitor class in Java
I want to know about Monitor
class in Java.
What is it used for, where is i开发者_高级运维t 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".)
These links helps you
http://www.artima.com/insidejvm/ed2/threadsynch2.html
http://download.oracle.com/javaee/1.4/api/javax/management/monitor/package-tree.html
http://download-llnw.oracle.com/javase/1.5.0/docs/api/javax/management/monitor/Monitor.html
精彩评论