📄 jmxutils.html
字号:
</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static javax.management.openmbean.OpenMBeanParameterInfo</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#convertToOpenMBeanOperationInfo(javax.management.MBeanParameterInfo)">convertToOpenMBeanOperationInfo</A></B>(javax.management.MBeanParameterInfo in)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static javax.management.openmbean.CompositeType</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#createCompositeType(java.util.Map, java.lang.String, java.lang.String)">createCompositeType</A></B>(java.util.Map m, java.lang.String compositeTypeName, java.lang.String compositeTypeDescription)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static javax.management.openmbean.OpenMBeanAttributeInfo</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#createOpenMBeanAttributeInfo(javax.management.openmbean.OpenType, javax.management.MBeanAttributeInfo, java.lang.String)">createOpenMBeanAttributeInfo</A></B>(javax.management.openmbean.OpenType type, javax.management.MBeanAttributeInfo in, java.lang.String prefix)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.net.InetSocketAddress</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#extractAddress(javax.management.ObjectName)">extractAddress</A></B>(javax.management.ObjectName name)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#getLogRegistrationMsg(java.lang.String, javax.management.MBeanServer, boolean)">getLogRegistrationMsg</A></B>(java.lang.String mbeanName, javax.management.MBeanServer mbeanServer, boolean registrationDone)</CODE><BR> Return a string suitable for logging on registration.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#getLogUnregistrationMsg(java.lang.String, javax.management.MBeanServer)">getLogUnregistrationMsg</A></B>(java.lang.String mbeanName, javax.management.MBeanServer mbeanServer)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static javax.management.openmbean.OpenType</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#getOpenType(java.lang.String)">getOpenType</A></B>(java.lang.String classString)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static javax.management.openmbean.OpenType</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#getOpenType(java.lang.String, javax.management.openmbean.OpenType)">getOpenType</A></B>(java.lang.String classString, javax.management.openmbean.OpenType defaultType)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#getServerDetail(javax.management.MBeanServer)">getServerDetail</A></B>(javax.management.MBeanServer server)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#getUid(javax.management.ObjectName)">getUid</A></B>(javax.management.ObjectName on)</CODE><BR> Returns the UID portion of the name key property of an object name representing a "CrawlService.Job" bean.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#isOpenType(java.lang.Class)">isOpenType</A></B>(java.lang.Class c)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/archive/util/JmxUtils.html#isOpenType(java.lang.String)">isOpenType</A></B>(java.lang.String classname)</CODE><BR> </TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="TYPE"><!-- --></A><H3>TYPE</H3><PRE>public static final java.lang.String <B>TYPE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JmxUtils.TYPE">Constant Field Values</A></DL></DL><HR><A NAME="SERVICE"><!-- --></A><H3>SERVICE</H3><PRE>public static final java.lang.String <B>SERVICE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JmxUtils.SERVICE">Constant Field Values</A></DL></DL><HR><A NAME="JOB"><!-- --></A><H3>JOB</H3><PRE>public static final java.lang.String <B>JOB</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JmxUtils.JOB">Constant Field Values</A></DL></DL><HR><A NAME="NAME"><!-- --></A><H3>NAME</H3><PRE>public static final java.lang.String <B>NAME</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JmxUtils.NAME">Constant Field Values</A></DL></DL><HR><A NAME="HOST"><!-- --></A><H3>HOST</H3><PRE>public static final java.lang.String <B>HOST</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JmxUtils.HOST">Constant Field Values</A></DL></DL><HR><A NAME="JMX_PORT"><!-- --></A><H3>JMX_PORT</H3><PRE>public static final java.lang.String <B>JMX_PORT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JmxUtils.JMX_PORT">Constant Field Values</A></DL></DL><HR><A NAME="GUI_PORT"><!-- --></A><H3>GUI_PORT</H3><PRE>public static final java.lang.String <B>GUI_PORT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JmxUtils.GUI_PORT">Constant Field Values</A></DL></DL><HR><A NAME="KEY"><!-- --></A><H3>KEY</H3><PRE>public static final java.lang.String <B>KEY</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JmxUtils.KEY">Constant Field Values</A></DL></DL><HR><A NAME="MOTHER"><!-- --></A><H3>MOTHER</H3><PRE>public static final java.lang.String <B>MOTHER</B></PRE><DL><DD>Key for name of the Heritrix instance hosting a Job: i.e. the CrawlJob's host/'mother'.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JmxUtils.MOTHER">Constant Field Values</A></DL></DL><HR><A NAME="MBEAN_SERVER_DELEGATE"><!-- --></A><H3>MBEAN_SERVER_DELEGATE</H3><PRE>public static final javax.management.ObjectName <B>MBEAN_SERVER_DELEGATE</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="JmxUtils()"><!-- --></A><H3>JmxUtils</H3><PRE>protected <B>JmxUtils</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getLogRegistrationMsg(java.lang.String, javax.management.MBeanServer, boolean)"><!-- --></A><H3>getLogRegistrationMsg</H3><PRE>public static java.lang.String <B>getLogRegistrationMsg</B>(java.lang.String mbeanName, javax.management.MBeanServer mbeanServer, boolean registrationDone)</PRE><DL><DD>Return a string suitable for logging on registration.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>mbeanName</CODE> - Mbean that got registered.<DD><CODE>mbeanServer</CODE> - Server we were registered to.<DD><CODE>registrationDone</CODE> - Whether we registered successfully or not.<DT><B>Returns:</B><DD>String suitable for logging.</DL></DD></DL><HR><A NAME="getLogUnregistrationMsg(java.lang.String, javax.management.MBeanServer)"><!-- --></A><H3>getLogUnregistrationMsg</H3><PRE>public static java.lang.String <B>getLogUnregistrationMsg</B>(java.lang.String mbeanName, javax.management.MBeanServer mbeanServer)</PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -