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

📄 transaction.html

📁 Axion 是一个小型的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from interface org.axiondb.<A HREF="../../org/axiondb/Database.html">Database</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../org/axiondb/Database.html#addDatabaseModificationListener(org.axiondb.event.DatabaseModificationListener)">addDatabaseModificationListener</A>, <A HREF="../../org/axiondb/Database.html#addTable(org.axiondb.Table)">addTable</A>, <A HREF="../../org/axiondb/Database.html#checkpoint()">checkpoint</A>, <A HREF="../../org/axiondb/Database.html#createSequence(org.axiondb.Sequence)">createSequence</A>, <A HREF="../../org/axiondb/Database.html#dropSequence(java.lang.String)">dropSequence</A>, <A HREF="../../org/axiondb/Database.html#dropTable(java.lang.String)">dropTable</A>, <A HREF="../../org/axiondb/Database.html#getDatabaseModificationListeners()">getDatabaseModificationListeners</A>, <A HREF="../../org/axiondb/Database.html#getDataType(java.lang.String)">getDataType</A>, <A HREF="../../org/axiondb/Database.html#getIndexFactory(java.lang.String)">getIndexFactory</A>, <A HREF="../../org/axiondb/Database.html#getName()">getName</A>, <A HREF="../../org/axiondb/Database.html#getSequence(java.lang.String)">getSequence</A>, <A HREF="../../org/axiondb/Database.html#getTable(java.lang.String)">getTable</A>, <A HREF="../../org/axiondb/Database.html#getTable(org.axiondb.TableIdentifier)">getTable</A>, <A HREF="../../org/axiondb/Database.html#getTableDirectory()">getTableDirectory</A>, <A HREF="../../org/axiondb/Database.html#getTableFactory(java.lang.String)">getTableFactory</A>, <A HREF="../../org/axiondb/Database.html#getTransactionManager()">getTransactionManager</A>, <A HREF="../../org/axiondb/Database.html#isReadOnly()">isReadOnly</A>, <A HREF="../../org/axiondb/Database.html#remount(java.io.File)">remount</A>, <A HREF="../../org/axiondb/Database.html#resolveSelectable(org.axiondb.Selectable, org.axiondb.TableIdentifier[])">resolveSelectable</A>, <A HREF="../../org/axiondb/Database.html#resolveWhereNode(org.axiondb.WhereNode, org.axiondb.TableIdentifier[])">resolveWhereNode</A>, <A HREF="../../org/axiondb/Database.html#shutdown()">shutdown</A>, <A HREF="../../org/axiondb/Database.html#tableAltered(org.axiondb.Table)">tableAltered</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.axiondb.Transactable"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from interface org.axiondb.<A HREF="../../org/axiondb/Transactable.html">Transactable</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../org/axiondb/Transactable.html#apply()">apply</A>, <A HREF="../../org/axiondb/Transactable.html#commit()">commit</A>, <A HREF="../../org/axiondb/Transactable.html#rollback()">rollback</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="STATE_OPEN"><!-- --></A><H3>
STATE_OPEN</H3>
<PRE>
public static final int <B>STATE_OPEN</B></PRE>
<DL>
<DD>Open (neither committed nor aborted yet).</DL>
<HR>

<A NAME="STATE_COMMITTED"><!-- --></A><H3>
STATE_COMMITTED</H3>
<PRE>
public static final int <B>STATE_COMMITTED</B></PRE>
<DL>
<DD>Committed, but not yet applied.</DL>
<HR>

<A NAME="STATE_ABORTED"><!-- --></A><H3>
STATE_ABORTED</H3>
<PRE>
public static final int <B>STATE_ABORTED</B></PRE>
<DL>
<DD>Aborted.</DL>
<HR>

<A NAME="STATE_APPLIED"><!-- --></A><H3>
STATE_APPLIED</H3>
<PRE>
public static final int <B>STATE_APPLIED</B></PRE>
<DL>
<DD>Applied.</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->


<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getOpenOnTransaction()"><!-- --></A><H3>
getOpenOnTransaction</H3>
<PRE>
public <A HREF="../../org/axiondb/Database.html">Database</A> <B>getOpenOnTransaction</B>()</PRE>
<DL>
<DD>Get the <A HREF="../../org/axiondb/Database.html"><CODE>Database</CODE></A> upon which I  am open (i.e., the state to which we will  return to if I am rolled back. Note that this may be another <code>Transaction</code>.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getState()"><!-- --></A><H3>
getState</H3>
<PRE>
public int <B>getState</B>()</PRE>
<DL>
<DD>Return my current transaction state. Returns one of <A HREF="../../org/axiondb/Transaction.html#STATE_OPEN"><CODE>STATE_OPEN</CODE></A>, <A HREF="../../org/axiondb/Transaction.html#STATE_COMMITTED"><CODE>STATE_COMMITTED</CODE></A>,  <A HREF="../../org/axiondb/Transaction.html#STATE_ABORTED"><CODE>STATE_ABORTED</CODE></A>, <A HREF="../../org/axiondb/Transaction.html#STATE_APPLIED"><CODE>STATE_APPLIED</CODE></A>.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getModifiedTables()"><!-- --></A><H3>
getModifiedTables</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Set.html">Set</A> <B>getModifiedTables</B>()</PRE>
<DL>
<DD>Return a <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Set.html"><CODE>Set</CODE></A> of <A HREF="../../org/axiondb/Table.html"><CODE>Table</CODE></A>s that have been modified thus far in this transaction.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getReadTables()"><!-- --></A><H3>
getReadTables</H3>
<PRE>
public <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Set.html">Set</A> <B>getReadTables</B>()</PRE>
<DL>
<DD>Return a <A HREF="http://java.sun.com/products/jdk/1.3/docs/api/java/util/Set.html"><CODE>Set</CODE></A> of <A HREF="../../org/axiondb/Table.html"><CODE>Table</CODE></A>s that have been read thus far in this transaction.<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <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/Transaction.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/axiondb/TransactableTable.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../org/axiondb/TransactionManager.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Transaction.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&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;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
Copyright &copy; 2002-2003 Axion Development Team. All Rights Reserved.
</BODY>
</HTML>

⌨️ 快捷键说明

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