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

📄 timermbean.html

📁 j2ee api,很好的api。我这现在有
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</DD></DL><HR><A NAME="getNotificationMessage(java.lang.Integer)"><!-- --></A><H3>getNotificationMessage</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getNotificationMessage</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&nbsp;id)</PRE><DL><DD>Gets the timer notification detailed message corresponding to the specified identifier.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The timer notification identifier.<DT><B>Returns:</B><DD>The timer notification detailed message or null if the identifier is not mapped to any  timer notification registered for this timer MBean.</DL></DD></DL><HR><A NAME="getNotificationUserData(java.lang.Integer)"><!-- --></A><H3>getNotificationUserData</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getNotificationUserData</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&nbsp;id)</PRE><DL><DD>Gets the timer notification user data object corresponding to the specified identifier.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The timer notification identifier.<DT><B>Returns:</B><DD>The timer notification user data object or null if the identifier is not mapped to any  timer notification registered for this timer MBean.</DL></DD></DL><HR><A NAME="getDate(java.lang.Integer)"><!-- --></A><H3>getDate</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Date.html" title="class or interface in java.util">Date</A> <B>getDate</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&nbsp;id)</PRE><DL><DD>Gets a copy of the date associated to a timer notification.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The timer notification identifier.<DT><B>Returns:</B><DD>A copy of the date or null if the identifier is not mapped to any  timer notification registered for this timer MBean.</DL></DD></DL><HR><A NAME="getPeriod(java.lang.Integer)"><!-- --></A><H3>getPeriod</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Long.html" title="class or interface in java.lang">Long</A> <B>getPeriod</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&nbsp;id)</PRE><DL><DD>Gets a copy of the period (in milliseconds) associated to a timer notification.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The timer notification identifier.<DT><B>Returns:</B><DD>A copy of the period or null if the identifier is not mapped to any  timer notification registered for this timer MBean.</DL></DD></DL><HR><A NAME="getNbOccurences(java.lang.Integer)"><!-- --></A><H3>getNbOccurences</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Long.html" title="class or interface in java.lang">Long</A> <B>getNbOccurences</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&nbsp;id)</PRE><DL><DD>Gets a copy of the remaining number of occurences associated to a timer notification.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The timer notification identifier.<DT><B>Returns:</B><DD>A copy of the remaining number of occurences or null if the identifier is not mapped to any  timer notification registered for this timer MBean.</DL></DD></DL><HR><A NAME="getFixedRate(java.lang.Integer)"><!-- --></A><H3>getFixedRate</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Boolean.html" title="class or interface in java.lang">Boolean</A> <B>getFixedRate</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&nbsp;id)</PRE><DL><DD>Gets a copy of the flag indicating whether a peridic notification is executed at <i>fixed-delay</i> or at <i>fixed-rate</i>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The timer notification identifier.<DT><B>Returns:</B><DD>A copy of the flag indicating whether a peridic notification is         executed at <i>fixed-delay</i> or at <i>fixed-rate</i>.</DL></DD></DL><HR><A NAME="getSendPastNotifications()"><!-- --></A><H3>getSendPastNotifications</H3><PRE>public boolean <B>getSendPastNotifications</B>()</PRE><DL><DD>Gets the flag indicating whether or not the timer sends past notifications.<P><DD><DL><DT><B>Returns:</B><DD>The past notifications sending on/off flag value.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/timer/TimerMBean.html#setSendPastNotifications(boolean)"><CODE>setSendPastNotifications(boolean)</CODE></A></DL></DD></DL><HR><A NAME="setSendPastNotifications(boolean)"><!-- --></A><H3>setSendPastNotifications</H3><PRE>public void <B>setSendPastNotifications</B>(boolean&nbsp;value)</PRE><DL><DD>Sets the flag indicating whether the timer sends past notifications or not.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The past notifications sending on/off flag value.<DT><B>See Also:</B><DD><A HREF="../../../javax/management/timer/TimerMBean.html#getSendPastNotifications()"><CODE>getSendPastNotifications()</CODE></A></DL></DD></DL><HR><A NAME="isActive()"><!-- --></A><H3>isActive</H3><PRE>public boolean <B>isActive</B>()</PRE><DL><DD>Tests whether the timer MBean is active. A timer MBean is marked active when the <A HREF="../../../javax/management/timer/TimerMBean.html#start()"><CODE>start</CODE></A> method is called. It becomes inactive when the <A HREF="../../../javax/management/timer/TimerMBean.html#stop()"><CODE>stop</CODE></A> method is called.<P><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if the timer MBean is active, <CODE>false</CODE> otherwise.</DL></DD></DL><HR><A NAME="isEmpty()"><!-- --></A><H3>isEmpty</H3><PRE>public boolean <B>isEmpty</B>()</PRE><DL><DD>Tests whether the list of timer notifications is empty.<P><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if the list of timer notifications is empty, <CODE>false</CODE> otherwise.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;PREV CLASS&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="TimerMBean.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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 + -