org.ozoneDB.core.DbRemote
Class DbTransaction
java.lang.Object
org.ozoneDB.DxLib.DxObject
org.ozoneDB.core.DbRemote.DbCommand
org.ozoneDB.core.DbRemote.DbTransaction
- All Implemented Interfaces:
- java.lang.Cloneable, DxCompatible, java.io.Serializable
- public class DbTransaction
- extends DbCommand
- Version:
- $Revision: 1.2 $Date: 2002/08/27 08:32:26 $
- Author:
- SMB
- See Also:
- Serialized Form
Fields inherited from class org.ozoneDB.DxLib.DxObject |
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MODE_BEGIN
public static final int MODE_BEGIN
- See Also:
- Constant Field Values
MODE_PREPARE
public static final int MODE_PREPARE
- See Also:
- Constant Field Values
MODE_COMMIT_ONEPHASE
public static final int MODE_COMMIT_ONEPHASE
- See Also:
- Constant Field Values
MODE_COMMIT_TWOPHASE
public static final int MODE_COMMIT_TWOPHASE
- See Also:
- Constant Field Values
MODE_CHECKPOINT
public static final int MODE_CHECKPOINT
- See Also:
- Constant Field Values
MODE_ABORT
public static final int MODE_ABORT
- See Also:
- Constant Field Values
MODE_STATUS
public static final int MODE_STATUS
- See Also:
- Constant Field Values
mode
private int mode
DbTransaction
public DbTransaction(int _mode)
mode
public int mode()
perform
public void perform(Transaction ta)
throws java.lang.Exception
- Description copied from class:
DbCommand
- Perform whatever has to be done for this command. This method is called
within a transaction, within a thread. The result of the command goes in
the result member.
- Specified by:
perform
in class DbCommand
- Throws:
java.lang.Exception
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.