org.axiondb.engine
Class TransactionManagerImpl

java.lang.Object
  extended by org.axiondb.engine.TransactionManagerImpl
All Implemented Interfaces:
TransactionManager

public class TransactionManagerImpl
extends java.lang.Object
implements TransactionManager

An implemenation of TransactionManagercurrently only supportd SnapshotIsolationTransactions.

Version:
$Revision: 1.20 $ $Date: 2005/12/20 18:32:46 $

Field Summary
static boolean NEVER_APPLY
           
 
Constructor Summary
TransactionManagerImpl(Database db)
           
 
Method Summary
 void abortTransaction(Transaction t)
          Abort the given Transaction.
 void commitTransaction(Transaction t)
          Commit the given Transaction.
 Transaction createTransaction()
          Create a new Transaction.
 boolean isShutdown()
          Return whether or not I've been TransactionManager.shutdown().
 void shutdown()
          Shut down this TransactionManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEVER_APPLY

public static final boolean NEVER_APPLY
Constructor Detail

TransactionManagerImpl

public TransactionManagerImpl(Database db)
Method Detail

createTransaction

public Transaction createTransaction()
                              throws AxionException
Description copied from interface: TransactionManager
Create a new Transaction.

Specified by:
createTransaction in interface TransactionManager
Throws:
AxionException

commitTransaction

public void commitTransaction(Transaction t)
                       throws AxionException
Description copied from interface: TransactionManager
Commit the given Transaction.

Specified by:
commitTransaction in interface TransactionManager
Throws:
AxionException

abortTransaction

public void abortTransaction(Transaction t)
                      throws AxionException
Description copied from interface: TransactionManager
Abort the given Transaction.

Specified by:
abortTransaction in interface TransactionManager
Throws:
AxionException

shutdown

public void shutdown()
              throws AxionException
Description copied from interface: TransactionManager
Shut down this TransactionManager.

Specified by:
shutdown in interface TransactionManager
Throws:
AxionException

isShutdown

public boolean isShutdown()
Description copied from interface: TransactionManager
Return whether or not I've been TransactionManager.shutdown().

Specified by:
isShutdown in interface TransactionManager