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

📄 jembeanhelper.html

📁 用JAVA编写的,在做实验的时候留下来的,本来想删的,但是传上来,大家分享吧
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JEMBeanHelper.OP_LOCK_STAT">Constant Field Values</A></DL></DL><HR><A NAME="OP_LOCK_STAT_STR"><!-- --></A><H3>OP_LOCK_STAT_STR</H3><PRE>static final java.lang.String <B>OP_LOCK_STAT_STR</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JEMBeanHelper.OP_LOCK_STAT_STR">Constant Field Values</A></DL></DL><HR><A NAME="OP_TXN_STAT"><!-- --></A><H3>OP_TXN_STAT</H3><PRE>static final java.lang.String <B>OP_TXN_STAT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JEMBeanHelper.OP_TXN_STAT">Constant Field Values</A></DL></DL><HR><A NAME="OP_DB_NAMES"><!-- --></A><H3>OP_DB_NAMES</H3><PRE>static final java.lang.String <B>OP_DB_NAMES</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JEMBeanHelper.OP_DB_NAMES">Constant Field Values</A></DL></DL><HR><A NAME="OP_DB_STAT"><!-- --></A><H3>OP_DB_STAT</H3><PRE>static final java.lang.String <B>OP_DB_STAT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.archive.util.JEMBeanHelper.OP_DB_STAT">Constant Field Values</A></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="JEMBeanHelper(com.sleepycat.je.EnvironmentConfig, java.io.File, boolean)"><!-- --></A><H3>JEMBeanHelper</H3><PRE>public <B>JEMBeanHelper</B>(com.sleepycat.je.EnvironmentConfig&nbsp;config,                     java.io.File&nbsp;environmentHome,                     boolean&nbsp;canConfigure)</PRE><DL><DD>Instantiate a helper, specifying environment home and open capabilities.<P><DL><DT><B>Parameters:</B><DD><CODE>environmentHome</CODE> - home directory of the target JE environment.<DD><CODE>canConfigure</CODE> - If true, the helper will show environment configuration attributes.</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="getEnvironmentHome()"><!-- --></A><H3>getEnvironmentHome</H3><PRE>public java.io.File <B>getEnvironmentHome</B>()</PRE><DL><DD>Return the target environment directory.<P><DD><DL><DT><B>Returns:</B><DD>the environment directory.</DL></DD></DL><HR><A NAME="getEnvironmentOpenConfig()"><!-- --></A><H3>getEnvironmentOpenConfig</H3><PRE>public com.sleepycat.je.EnvironmentConfig <B>getEnvironmentOpenConfig</B>()</PRE><DL><DD>If the helper was instantiated with canConfigure==true, it shows environment configuration attributes. Those attributes are returned within this EnvironmentConfig object for use in opening environments.<P><DD><DL><DT><B>Returns:</B><DD>EnvironmentConfig object which saves configuration attributes recorded through MBean attributes.</DL></DD></DL><HR><A NAME="getEnvironmentIfOpen()"><!-- --></A><H3>getEnvironmentIfOpen</H3><PRE>public com.sleepycat.je.Environment <B>getEnvironmentIfOpen</B>()</PRE><DL><DD>Return an Environment only if the environment has already been opened in this process. A helper method for MBeans which want to only access open environments.<P><DD><DL><DT><B>Returns:</B><DD>Environment if already open, null if not open.</DL></DD></DL><HR><A NAME="getNeedReset()"><!-- --></A><H3>getNeedReset</H3><PRE>public boolean <B>getNeedReset</B>()</PRE><DL><DD>Tell the MBean if the available set of functionality has changed.<P><DD><DL><DT><B>Returns:</B><DD>true if the MBean should regenerate its JE metadata.</DL></DD></DL><HR><A NAME="getAttributeList(com.sleepycat.je.Environment)"><!-- --></A><H3>getAttributeList</H3><PRE>public java.util.List <B>getAttributeList</B>(com.sleepycat.je.Environment&nbsp;targetEnv)</PRE><DL><DD>Get MBean attribute metadata for this environment.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>targetEnv</CODE> - The target JE environment. May be null if the environment is not open.<DT><B>Returns:</B><DD>list of MBeanAttributeInfo objects describing the available attributes.</DL></DD></DL><HR><A NAME="getAttribute(com.sleepycat.je.Environment, java.lang.String)"><!-- --></A><H3>getAttribute</H3><PRE>public java.lang.Object <B>getAttribute</B>(com.sleepycat.je.Environment&nbsp;targetEnv,                                     java.lang.String&nbsp;attributeName)                              throws javax.management.AttributeNotFoundException,                                     javax.management.MBeanException</PRE><DL><DD>Get an attribute value for the given environment. Check JEMBeanHelper.getNeedReset() after this call because the helper may detect that the environment has changed and that the MBean metadata should be reset.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>targetEnv</CODE> - The target JE environment. May be null if the environment is not open.<DD><CODE>attributeName</CODE> - attribute name.<DT><B>Returns:</B><DD>attribute value.<DT><B>Throws:</B><DD><CODE>javax.management.AttributeNotFoundException</CODE><DD><CODE>javax.management.MBeanException</CODE></DL></DD></DL><HR><A NAME="setAttribute(com.sleepycat.je.Environment, javax.management.Attribute)"><!-- --></A><H3>setAttribute</H3><PRE>public void <B>setAttribute</B>(com.sleepycat.je.Environment&nbsp;targetEnv,                         javax.management.Attribute&nbsp;attribute)                  throws javax.management.AttributeNotFoundException,                         javax.management.InvalidAttributeValueException</PRE><DL><DD>Set an attribute value for the given environment.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>targetEnv</CODE> - The target JE environment. May be null if the environment is not open.<DD><CODE>attribute</CODE> - name/value pair<DT><B>Throws:</B><DD><CODE>javax.management.AttributeNotFoundException</CODE><DD><CODE>javax.management.InvalidAttributeValueException</CODE></DL></DD></DL><HR><A NAME="getOperationList(com.sleepycat.je.Environment)"><!-- --></A><H3>getOperationList</H3><PRE>public java.util.List <B>getOperationList</B>(com.sleepycat.je.Environment&nbsp;targetEnv)</PRE><DL><DD>Get mbean operation metadata for this environment.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>targetEnv</CODE> - The target JE environment. May be null if the environment is not open.<DT><B>Returns:</B><DD>List of MBeanOperationInfo describing available operations.</DL></DD></DL><HR><A NAME="invoke(com.sleepycat.je.Environment, java.lang.String, java.lang.Object[], java.lang.String[])"><!-- --></A><H3>invoke</H3><PRE>public java.lang.Object <B>invoke</B>(com.sleepycat.je.Environment&nbsp;targetEnv,                               java.lang.String&nbsp;actionName,                               java.lang.Object[]&nbsp;params,                               java.lang.String[]&nbsp;signature)                        throws javax.management.MBeanException</PRE><DL><DD>Invoke an operation for the given environment.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>targetEnv</CODE> - The target JE environment. May be null if the environment is not open.<DD><CODE>actionName</CODE> - operation name.<DD><CODE>params</CODE> - operation parameters. May be null.<DD><CODE>signature</CODE> - operation signature. May be null.<DT><B>Returns:</B><DD>the operation result<DT><B>Throws:</B><DD><CODE>javax.management.MBeanException</CODE></DL></DD></DL><HR><A NAME="getNotificationInfo(com.sleepycat.je.Environment)"><!-- --></A><H3>getNotificationInfo</H3><PRE>public javax.management.MBeanNotificationInfo[] <B>getNotificationInfo</B>(com.sleepycat.je.Environment&nbsp;targetEnv)</PRE><DL><DD>No notifications are supported.<P><DD><DL><DT><B>Returns:</B><DD>List of MBeanNotificationInfo for available notifications.</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/JEMBeanHelper.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/JEApplicationMBean.html" title="class in org.archive.util"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/archive/util/JmxUtils.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/JEMBeanHelper.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="JEMBeanHelper.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 + -