📄 gaugemonitor.html
字号:
<DT><B>Parameters:</B><DD><CODE>highValue</CODE> - The high threshold value.<DD><CODE>lowValue</CODE> - The low threshold value.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - The specified high/low threshold is null or the low threshold is greater than the high threshold or the high threshold and the low threshold are not of the same type.</DL></DD></DL><HR><A NAME="getNotifyHigh()"><!-- --></A><H3>getNotifyHigh</H3><PRE>public boolean <B>getNotifyHigh</B>()</PRE><DL><DD>Gets the high notification's on/off switch value common to all observed MBeans.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#getNotifyHigh()">getNotifyHigh</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html" title="interface in javax.management.monitor">GaugeMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if the gauge monitor notifies when exceeding the high threshold, <CODE>false</CODE> otherwise.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/GaugeMonitor.html#setNotifyHigh(boolean)"><CODE>setNotifyHigh(boolean)</CODE></A></DL></DD></DL><HR><A NAME="setNotifyHigh(boolean)"><!-- --></A><H3>setNotifyHigh</H3><PRE>public void <B>setNotifyHigh</B>(boolean value)</PRE><DL><DD>Sets the high notification's on/off switch value common to all observed MBeans.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#setNotifyHigh(boolean)">setNotifyHigh</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html" title="interface in javax.management.monitor">GaugeMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The high notification's on/off switch value.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/GaugeMonitor.html#getNotifyHigh()"><CODE>getNotifyHigh()</CODE></A></DL></DD></DL><HR><A NAME="getNotifyLow()"><!-- --></A><H3>getNotifyLow</H3><PRE>public boolean <B>getNotifyLow</B>()</PRE><DL><DD>Gets the low notification's on/off switch value common to all observed MBeans.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#getNotifyLow()">getNotifyLow</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html" title="interface in javax.management.monitor">GaugeMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if the gauge monitor notifies when exceeding the low threshold, <CODE>false</CODE> otherwise.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/GaugeMonitor.html#setNotifyLow(boolean)"><CODE>setNotifyLow(boolean)</CODE></A></DL></DD></DL><HR><A NAME="setNotifyLow(boolean)"><!-- --></A><H3>setNotifyLow</H3><PRE>public void <B>setNotifyLow</B>(boolean value)</PRE><DL><DD>Sets the low notification's on/off switch value common to all observed MBeans.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#setNotifyLow(boolean)">setNotifyLow</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html" title="interface in javax.management.monitor">GaugeMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The low notification's on/off switch value.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/GaugeMonitor.html#getNotifyLow()"><CODE>getNotifyLow()</CODE></A></DL></DD></DL><HR><A NAME="getDifferenceMode()"><!-- --></A><H3>getDifferenceMode</H3><PRE>public boolean <B>getDifferenceMode</B>()</PRE><DL><DD>Gets the difference mode flag value common to all observed MBeans.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#getDifferenceMode()">getDifferenceMode</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html" title="interface in javax.management.monitor">GaugeMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if the difference mode is used, <CODE>false</CODE> otherwise.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/GaugeMonitor.html#setDifferenceMode(boolean)"><CODE>setDifferenceMode(boolean)</CODE></A></DL></DD></DL><HR><A NAME="setDifferenceMode(boolean)"><!-- --></A><H3>setDifferenceMode</H3><PRE>public void <B>setDifferenceMode</B>(boolean value)</PRE><DL><DD>Sets the difference mode flag value common to all observed MBeans.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#setDifferenceMode(boolean)">setDifferenceMode</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html" title="interface in javax.management.monitor">GaugeMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The difference mode flag value.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/GaugeMonitor.html#getDifferenceMode()"><CODE>getDifferenceMode()</CODE></A></DL></DD></DL><HR><A NAME="getNotificationInfo()"><!-- --></A><H3>getNotificationInfo</H3><PRE>public <A HREF="../../../javax/management/MBeanNotificationInfo.html" title="class in javax.management">MBeanNotificationInfo</A>[] <B>getNotificationInfo</B>()</PRE><DL><DD>Returns a <CODE>NotificationInfo</CODE> object containing the name of the Java class of the notification and the notification types sent by the gauge monitor.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/NotificationBroadcaster.html#getNotificationInfo()">getNotificationInfo</A></CODE> in interface <CODE><A HREF="../../../javax/management/NotificationBroadcaster.html" title="interface in javax.management">NotificationBroadcaster</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/management/NotificationBroadcasterSupport.html#getNotificationInfo()">getNotificationInfo</A></CODE> in class <CODE><A HREF="../../../javax/management/NotificationBroadcasterSupport.html" title="class in javax.management">NotificationBroadcasterSupport</A></CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/management/monitor/CounterMonitor.html" title="class in javax.management.monitor"><B>PREV CLASS</B></A> <A HREF="../../../javax/management/monitor/Monitor.html" title="class in javax.management.monitor"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="GaugeMonitor.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_javax.management.monitor.Monitor">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -