📄 countermonitormbean.html
字号:
setInitThreshold</H3><PRE>public void <B>setInitThreshold</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> value) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Sets the initial threshold value common to all observed MBeans.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The initial 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 threshold is null or the threshold value is less than zero.<DT><B>Since:</B></DT> <DD>JMX 1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html#getInitThreshold()"><CODE>getInitThreshold()</CODE></A></DL></DD></DL><HR><A NAME="getOffset()"><!-- --></A><H3>getOffset</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> <B>getOffset</B>()</PRE><DL><DD>Gets the offset value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The offset value.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html#setOffset(java.lang.Number)"><CODE>setOffset(Number)</CODE></A></DL></DD></DL><HR><A NAME="setOffset(java.lang.Number)"><!-- --></A><H3>setOffset</H3><PRE>public void <B>setOffset</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> value) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Sets the offset value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The offset 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 offset is null or the offset value is less than zero.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html#getOffset()"><CODE>getOffset()</CODE></A></DL></DD></DL><HR><A NAME="getModulus()"><!-- --></A><H3>getModulus</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> <B>getModulus</B>()</PRE><DL><DD>Gets the modulus value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The modulus value.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html#setModulus(java.lang.Number)"><CODE>setModulus(java.lang.Number)</CODE></A></DL></DD></DL><HR><A NAME="setModulus(java.lang.Number)"><!-- --></A><H3>setModulus</H3><PRE>public void <B>setModulus</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A> value) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Sets the modulus value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The modulus 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 modulus is null or the modulus value is less than zero.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html#getModulus()"><CODE>getModulus()</CODE></A></DL></DD></DL><HR><A NAME="getNotify()"><!-- --></A><H3>getNotify</H3><PRE>public boolean <B>getNotify</B>()</PRE><DL><DD>Gets the notification's on/off switch value.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if the counter monitor notifies when exceeding the threshold, <CODE>false</CODE> otherwise.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html#setNotify(boolean)"><CODE>setNotify(boolean)</CODE></A></DL></DD></DL><HR><A NAME="setNotify(boolean)"><!-- --></A><H3>setNotify</H3><PRE>public void <B>setNotify</B>(boolean value)</PRE><DL><DD>Sets the notification's on/off switch value.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The notification's on/off switch value.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html#getNotify()"><CODE>getNotify()</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.<P><DD><DL></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/CounterMonitorMBean.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.<P><DD><DL></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/CounterMonitorMBean.html#getDifferenceMode()"><CODE>getDifferenceMode()</CODE></A></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"> PREV CLASS <A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html" title="interface 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="CounterMonitorMBean.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -