net.jinx.db.transaction
Class TransactionManager

java.lang.Object
  extended by net.jinx.db.transaction.TransactionManager

public class TransactionManager
extends java.lang.Object


Constructor Summary
TransactionManager(SnapshotManager sm, TransactionLogger tl)
           
 
Method Summary
 java.lang.Object process(Query query)
           
 void process(Transaction trans)
           
 void writeSnapshot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionManager

public TransactionManager(SnapshotManager sm,
                          TransactionLogger tl)
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

writeSnapshot

public void writeSnapshot()
                   throws java.io.IOException
Throws:
java.io.IOException

process

public void process(Transaction trans)
             throws java.lang.Exception
Throws:
java.lang.Exception

process

public java.lang.Object process(Query query)
                         throws java.lang.Exception
Throws:
java.lang.Exception