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

📄 jmxutils.html

📁 用JAVA编写的,在做实验的时候留下来的,本来想删的,但是传上来,大家分享吧
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DL><DD><DL></DL></DD></DL><HR><A NAME="getServerDetail(javax.management.MBeanServer)"><!-- --></A><H3>getServerDetail</H3><PRE>public static java.lang.String <B>getServerDetail</B>(javax.management.MBeanServer&nbsp;server)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="checkParamsCount(java.lang.String, java.lang.Object[], int)"><!-- --></A><H3>checkParamsCount</H3><PRE>public static void <B>checkParamsCount</B>(java.lang.String&nbsp;operationName,                                    java.lang.Object[]&nbsp;params,                                    int&nbsp;count)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>operationName</CODE> - Name of operation we're checking params on (Used in exception            if one thrown).<DD><CODE>params</CODE> - Amount of params passed.<DD><CODE>count</CODE> - Count of params expected.</DL></DD></DL><HR><A NAME="convertToOpenMBeanOperation(javax.management.MBeanOperationInfo)"><!-- --></A><H3>convertToOpenMBeanOperation</H3><PRE>public static javax.management.openmbean.OpenMBeanOperationInfo <B>convertToOpenMBeanOperation</B>(javax.management.MBeanOperationInfo&nbsp;in)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - MBeanOperation to convert.<DT><B>Returns:</B><DD>An OpenMBeanOperation version of the passed MBeanOperation.</DL></DD></DL><HR><A NAME="convertToOpenMBeanOperation(javax.management.MBeanOperationInfo, java.lang.String, javax.management.openmbean.OpenType)"><!-- --></A><H3>convertToOpenMBeanOperation</H3><PRE>public static javax.management.openmbean.OpenMBeanOperationInfo <B>convertToOpenMBeanOperation</B>(javax.management.MBeanOperationInfo&nbsp;in,                                                                                            java.lang.String&nbsp;prefix,                                                                                            javax.management.openmbean.OpenType&nbsp;returnType)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - MBeanOperation to convert.<DD><CODE>prefix</CODE> - A prefix to add to the name of new operation.<DD><CODE>returnType</CODE> - Return type to use in new operation.  Use this parameter to override the passed <code>in</code> return type.<DT><B>Returns:</B><DD>An OpenMBeanOperation version of the passed MBeanOperation.</DL></DD></DL><HR><A NAME="convertImpact(int)"><!-- --></A><H3>convertImpact</H3><PRE>public static int <B>convertImpact</B>(int&nbsp;impact)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="convertToOpenMBeanOperationInfo(javax.management.MBeanParameterInfo)"><!-- --></A><H3>convertToOpenMBeanOperationInfo</H3><PRE>public static javax.management.openmbean.OpenMBeanParameterInfo <B>convertToOpenMBeanOperationInfo</B>(javax.management.MBeanParameterInfo&nbsp;in)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - MBeanParameterInfo to convert to an OpenMBeanParameterInfo.<DT><B>Returns:</B><DD>OpenMBeanParameterInfo version of <code>in</code></DL></DD></DL><HR><A NAME="isOpenType(java.lang.Class)"><!-- --></A><H3>isOpenType</H3><PRE>public static boolean <B>isOpenType</B>(java.lang.Class&nbsp;c)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isOpenType(java.lang.String)"><!-- --></A><H3>isOpenType</H3><PRE>public static boolean <B>isOpenType</B>(java.lang.String&nbsp;classname)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getOpenType(java.lang.String)"><!-- --></A><H3>getOpenType</H3><PRE>public static javax.management.openmbean.OpenType <B>getOpenType</B>(java.lang.String&nbsp;classString)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>classString</CODE> - Java class name.<DT><B>Returns:</B><DD>Its OpenType equivalent.</DL></DD></DL><HR><A NAME="getOpenType(java.lang.String, javax.management.openmbean.OpenType)"><!-- --></A><H3>getOpenType</H3><PRE>public static javax.management.openmbean.OpenType <B>getOpenType</B>(java.lang.String&nbsp;classString,                                                              javax.management.openmbean.OpenType&nbsp;defaultType)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>classString</CODE> - Java class name.<DD><CODE>defaultType</CODE> - If no equivalent found, use passed defaultType.<DT><B>Returns:</B><DD>Its OpenType equivalent.</DL></DD></DL><HR><A NAME="convertToOpenMBeanAttribute(javax.management.MBeanAttributeInfo)"><!-- --></A><H3>convertToOpenMBeanAttribute</H3><PRE>public static javax.management.openmbean.OpenMBeanAttributeInfo <B>convertToOpenMBeanAttribute</B>(javax.management.MBeanAttributeInfo&nbsp;in)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - AttributeInfo to convert.<DT><B>Returns:</B><DD>OpenMBeanAttributeInfo version of <code>in</code>.</DL></DD></DL><HR><A NAME="convertToOpenMBeanAttribute(javax.management.MBeanAttributeInfo, java.lang.String)"><!-- --></A><H3>convertToOpenMBeanAttribute</H3><PRE>public static javax.management.openmbean.OpenMBeanAttributeInfo <B>convertToOpenMBeanAttribute</B>(javax.management.MBeanAttributeInfo&nbsp;in,                                                                                            java.lang.String&nbsp;prefix)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>in</CODE> - AttributeInfo to convert.<DD><CODE>prefix</CODE> - Prefix to add to names of new attributes. If null, nothing is added.<DT><B>Returns:</B><DD>OpenMBeanAttributeInfo version of <code>in</code>.</DL></DD></DL><HR><A NAME="createOpenMBeanAttributeInfo(javax.management.openmbean.OpenType, javax.management.MBeanAttributeInfo, java.lang.String)"><!-- --></A><H3>createOpenMBeanAttributeInfo</H3><PRE>public static javax.management.openmbean.OpenMBeanAttributeInfo <B>createOpenMBeanAttributeInfo</B>(javax.management.openmbean.OpenType&nbsp;type,                                                                                             javax.management.MBeanAttributeInfo&nbsp;in,                                                                                             java.lang.String&nbsp;prefix)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - Type of new OpenMBeanAttributeInfo.<DD><CODE>in</CODE> - The MBeanAttributeInfo we're converting.<DD><CODE>prefix</CODE> - Prefix to add to name of new Attribute (If null, nothing is added).<DT><B>Returns:</B><DD>New OpenMBeanAttributeInfo based on <code>in</code>.</DL></DD></DL><HR><A NAME="createCompositeType(java.util.Map, java.lang.String, java.lang.String)"><!-- --></A><H3>createCompositeType</H3><PRE>public static javax.management.openmbean.CompositeType <B>createCompositeType</B>(java.util.Map&nbsp;m,                                                                           java.lang.String&nbsp;compositeTypeName,                                                                           java.lang.String&nbsp;compositeTypeDescription)                                                                    throws javax.management.openmbean.OpenDataException</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>m</CODE> - A map to make a CompositeType of (Assumption is that order does not matter. If it does, pass a map of sorted keys).<DD><CODE>compositeTypeName</CODE> - Name to give created compositeType.<DD><CODE>compositeTypeDescription</CODE> - Description.<DT><B>Returns:</B><DD>CompositeType made by examination of passed TreeMap.<DT><B>Throws:</B><DD><CODE>javax.management.openmbean.OpenDataException</CODE></DL></DD></DL><HR><A NAME="extractAddress(javax.management.ObjectName)"><!-- --></A><H3>extractAddress</H3><PRE>public static java.net.InetSocketAddress <B>extractAddress</B>(javax.management.ObjectName&nbsp;name)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getUid(javax.management.ObjectName)"><!-- --></A><H3>getUid</H3><PRE>public static java.lang.String <B>getUid</B>(javax.management.ObjectName&nbsp;on)</PRE><DL><DD>Returns the UID portion of the name key property of an object name representing a "CrawlService.Job" bean. It is assumed that the name will have the format {crawl name}-{uid}.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>on</CODE> - A CrawlServer.Job object name.<DT><B>Returns:</B><DD>Uid for a CrawlServer.Job.</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=2 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="class-use/JmxUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/archive/util/JEMBeanHelper.html" title="class in org.archive.util"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/archive/util/JndiUtils.html" title="class in org.archive.util"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?org/archive/util/JmxUtils.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="JmxUtils.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;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 2003-2006 Internet Archive. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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