net.jinx.db.transaction
Class DiskTransactionLogger

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

public class DiskTransactionLogger
extends java.lang.Object


Constructor Summary
DiskTransactionLogger(java.io.File snapfile, java.io.File logfile)
           
 
Method Summary
 void logTransaction(Transaction transaction)
           
 void readSnapshot(SnapshotManager sm)
           
 void writeSnapshot(SnapshotManager sm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiskTransactionLogger

public DiskTransactionLogger(java.io.File snapfile,
                             java.io.File logfile)
Method Detail

writeSnapshot

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

readSnapshot

public void readSnapshot(SnapshotManager sm)
                  throws java.io.IOException
Throws:
java.io.IOException

logTransaction

public void logTransaction(Transaction transaction)
                    throws java.io.IOException
Throws:
java.io.IOException