⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gaugemonitor.html

📁 j2ee的API 1.4版本,j2ee的帮助文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DL><DD>Default constructor.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="start()"><!-- --></A><H3>start</H3><PRE>public void <B>start</B>()</PRE><DL><DD>Starts the gauge monitor.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/MonitorMBean.html#start()">start</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/MonitorMBean.html" title="interface in javax.management.monitor">MonitorMBean</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/Monitor.html#start()">start</A></CODE> in class <CODE><A HREF="../../../javax/management/monitor/Monitor.html" title="class in javax.management.monitor">Monitor</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="stop()"><!-- --></A><H3>stop</H3><PRE>public void <B>stop</B>()</PRE><DL><DD>Stops the gauge monitor.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/MonitorMBean.html#stop()">stop</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/MonitorMBean.html" title="interface in javax.management.monitor">MonitorMBean</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/Monitor.html#stop()">stop</A></CODE> in class <CODE><A HREF="../../../javax/management/monitor/Monitor.html" title="class in javax.management.monitor">Monitor</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setGranularityPeriod(long)"><!-- --></A><H3>setGranularityPeriod</H3><PRE>public void <B>setGranularityPeriod</B>(long&nbsp;period)                          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 granularity period (in milliseconds). <BR>The default value of the granularity period is 10 seconds.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/MonitorMBean.html#setGranularityPeriod(long)">setGranularityPeriod</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/MonitorMBean.html" title="interface in javax.management.monitor">MonitorMBean</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/management/monitor/Monitor.html#setGranularityPeriod(long)">setGranularityPeriod</A></CODE> in class <CODE><A HREF="../../../javax/management/monitor/Monitor.html" title="class in javax.management.monitor">Monitor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>period</CODE> - The granularity period 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 granularity period is less than or equal to zero.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/Monitor.html#setGranularityPeriod(long)"><CODE>Monitor.setGranularityPeriod(long)</CODE></A></DL></DD></DL><HR><A NAME="getDerivedGauge(javax.management.ObjectName)"><!-- --></A><H3>getDerivedGauge</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>getDerivedGauge</B>(<A HREF="../../../javax/management/ObjectName.html" title="class in javax.management">ObjectName</A>&nbsp;object)</PRE><DL><DD>Gets the derived gauge of the specified object, if this object is contained in the set of observed MBeans, or <code>null</code> otherwise.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#getDerivedGauge(javax.management.ObjectName)">getDerivedGauge</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>object</CODE> - the name of the MBean.<DT><B>Returns:</B><DD>The derived gauge of the specified object.<DT><B>Since:</B></DT>  <DD>JMX 1.2</DD></DL></DD></DL><HR><A NAME="getDerivedGaugeTimeStamp(javax.management.ObjectName)"><!-- --></A><H3>getDerivedGaugeTimeStamp</H3><PRE>public long <B>getDerivedGaugeTimeStamp</B>(<A HREF="../../../javax/management/ObjectName.html" title="class in javax.management">ObjectName</A>&nbsp;object)</PRE><DL><DD>Gets the derived gauge timestamp of the specified object, if this object is contained in the set of observed MBeans, or <code>null</code> otherwise.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#getDerivedGaugeTimeStamp(javax.management.ObjectName)">getDerivedGaugeTimeStamp</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>object</CODE> - the name of the MBean.<DT><B>Returns:</B><DD>The derived gauge timestamp of the specified object.<DT><B>Since:</B></DT>  <DD>JMX 1.2</DD></DL></DD></DL><HR><A NAME="getDerivedGauge()"><!-- --></A><H3>getDerivedGauge</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>getDerivedGauge</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>As of JMX 1.2, replaced by <A HREF="../../../javax/management/monitor/GaugeMonitor.html#getDerivedGauge(javax.management.ObjectName)"><CODE>getDerivedGauge(ObjectName)</CODE></A></I><P><DD>Returns the derived gauge of the first object in the set of observed MBeans.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#getDerivedGauge()">getDerivedGauge</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>The derived gauge.</DL></DD></DL><HR><A NAME="getDerivedGaugeTimeStamp()"><!-- --></A><H3>getDerivedGaugeTimeStamp</H3><PRE>public long <B>getDerivedGaugeTimeStamp</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>As of JMX 1.2, replaced by <A HREF="../../../javax/management/monitor/GaugeMonitor.html#getDerivedGaugeTimeStamp(javax.management.ObjectName)"><CODE>getDerivedGaugeTimeStamp(ObjectName)</CODE></A></I><P><DD>Gets the derived gauge timestamp of the first object in the set of observed MBeans.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#getDerivedGaugeTimeStamp()">getDerivedGaugeTimeStamp</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>The derived gauge timestamp.</DL></DD></DL><HR><A NAME="getHighThreshold()"><!-- --></A><H3>getHighThreshold</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>getHighThreshold</B>()</PRE><DL><DD>Gets the high threshold value common to all observed MBeans.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#getHighThreshold()">getHighThreshold</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>The high threshold value.</DL></DD></DL><HR><A NAME="getLowThreshold()"><!-- --></A><H3>getLowThreshold</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>getLowThreshold</B>()</PRE><DL><DD>Gets the low threshold value common to all observed MBeans.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#getLowThreshold()">getLowThreshold</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>The low threshold value.</DL></DD></DL><HR><A NAME="setThresholds(java.lang.Number, java.lang.Number)"><!-- --></A><H3>setThresholds</H3><PRE>public void <B>setThresholds</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>&nbsp;highValue,                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Number.html" title="class or interface in java.lang">Number</A>&nbsp;lowValue)                   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 high and the low threshold values common to all observed MBeans.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/GaugeMonitorMBean.html#setThresholds(java.lang.Number, java.lang.Number)">setThresholds</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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -