org.openmobileis.database.fastobjectdb.db.transaction
Class Transaction

java.lang.Object
  extended byorg.openmobileis.database.fastobjectdb.db.transaction.Transaction

public final class Transaction
extends java.lang.Object

Transaction Manager use to manage database transaction

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Constructor Summary
Transaction(java.lang.Thread th)
           
 
Method Summary
 void addTransactionFile(TransactionFile file)
           
 void begin()
           
 boolean commit()
           
 java.lang.Thread getTransactionThread()
           
 void popallthread()
           
 void pushThread(java.lang.Thread th)
           
 boolean rollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transaction

public Transaction(java.lang.Thread th)
Method Detail

getTransactionThread

public java.lang.Thread getTransactionThread()

pushThread

public void pushThread(java.lang.Thread th)

popallthread

public void popallthread()

addTransactionFile

public void addTransactionFile(TransactionFile file)
                        throws FODBException
Throws:
FODBException

begin

public void begin()
           throws FODBException
Throws:
FODBException

commit

public boolean commit()
               throws FODBException
Throws:
FODBException

rollback

public boolean rollback()
                 throws FODBException
Throws:
FODBException


Copyright 2006 OpenMobileIS. All Rights Reserved.