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

📄 countermonitor.html

📁 j2ee api,很好的api。我这现在有
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<HR><A NAME="start()"><!-- --></A><H3>start</H3><PRE>public void <B>start</B>()</PRE><DL><DD>Starts the counter 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 counter monitor. This method is not synchronized, because if it were there could be a deadlock with a thread that attempted to get the lock on the monitor before being interrupted or noticing that it had been interrupted.<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/CounterMonitorMBean.html#getDerivedGauge(javax.management.ObjectName)">getDerivedGauge</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html" title="interface in javax.management.monitor">CounterMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the name of the object whose derived gauge is to be returned.<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/CounterMonitorMBean.html#getDerivedGaugeTimeStamp(javax.management.ObjectName)">getDerivedGaugeTimeStamp</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html" title="interface in javax.management.monitor">CounterMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the name of the object whose derived gauge timestamp is to be returned.<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="getThreshold(javax.management.ObjectName)"><!-- --></A><H3>getThreshold</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>getThreshold</B>(<A HREF="../../../javax/management/ObjectName.html" title="class in javax.management">ObjectName</A>&nbsp;object)</PRE><DL><DD>Gets the current threshold value 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/CounterMonitorMBean.html#getThreshold(javax.management.ObjectName)">getThreshold</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html" title="interface in javax.management.monitor">CounterMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the name of the object whose threshold is to be returned.<DT><B>Returns:</B><DD>The threshold value of the specified object.<DT><B>Since:</B></DT>  <DD>JMX 1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/CounterMonitor.html#setThreshold(java.lang.Number)"><CODE>setThreshold(java.lang.Number)</CODE></A></DL></DD></DL><HR><A NAME="getInitThreshold()"><!-- --></A><H3>getInitThreshold</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>getInitThreshold</B>()</PRE><DL><DD>Gets the initial threshold value common to all observed objects.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html#getInitThreshold()">getInitThreshold</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html" title="interface in javax.management.monitor">CounterMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The initial threshold.<DT><B>Since:</B></DT>  <DD>JMX 1.2</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/CounterMonitor.html#setInitThreshold(java.lang.Number)"><CODE>setInitThreshold(java.lang.Number)</CODE></A></DL></DD></DL><HR><A NAME="setInitThreshold(java.lang.Number)"><!-- --></A><H3>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>&nbsp;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 objects. <BR>The current threshold of every object in the set of observed MBeans is updated consequently.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html#setInitThreshold(java.lang.Number)">setInitThreshold</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html" title="interface in javax.management.monitor">CounterMonitorMBean</A></CODE></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/CounterMonitor.html#getInitThreshold()"><CODE>getInitThreshold()</CODE></A></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/CounterMonitor.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/CounterMonitorMBean.html#getDerivedGauge()">getDerivedGauge</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html" title="interface in javax.management.monitor">CounterMonitorMBean</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/CounterMonitor.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/CounterMonitorMBean.html#getDerivedGaugeTimeStamp()">getDerivedGaugeTimeStamp</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html" title="interface in javax.management.monitor">CounterMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The derived gauge timestamp.</DL></DD></DL><HR><A NAME="getThreshold()"><!-- --></A><H3>getThreshold</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>getThreshold</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>As of JMX 1.2, replaced by <A HREF="../../../javax/management/monitor/CounterMonitor.html#getThreshold(javax.management.ObjectName)"><CODE>getThreshold(ObjectName)</CODE></A></I><P><DD>Gets the threshold value 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/CounterMonitorMBean.html#getThreshold()">getThreshold</A></CODE> in interface <CODE><A HREF="../../../javax/management/monitor/CounterMonitorMBean.html" title="interface in javax.management.monitor">CounterMonitorMBean</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The threshold value.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/monitor/CounterMonitor.html#setThreshold(java.lang.Number)"><CODE>setThreshold(Number)</CODE></A></DL></DD></DL><HR><A NAME="setThreshold(java.lang.Number)"><!-- --></A><H3>setThreshold</H3><PRE>public void <B>setThreshold</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;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><B>Deprecated.</B>&nbsp;<I>As of JMX 1.2, replaced by <A HREF="../../../javax/management/monitor/CounterMonitor.html#setInitThreshold(java.lang.Number)"><CODE>setInitThreshold(java.lang.Number)</CODE></A></I><P><DD>Sets the initial threshold value.<P>

⌨️ 快捷键说明

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