开发者

Monitor class in Java

开发者 https://www.devze.com 2023-01-11 16:56 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消