Mercurial > hg > blitz_condensed
diff src/org/dancres/blitz/txn/TxnManager.java @ 17:4580bb12db30
Separate command execution from command logging.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sun, 05 Jul 2009 16:26:25 +0100 |
parents | 3dc0c5604566 |
children |
line wrap: on
line diff
--- a/src/org/dancres/blitz/txn/TxnManager.java Sun Jul 05 16:25:18 2009 +0100 +++ b/src/org/dancres/blitz/txn/TxnManager.java Sun Jul 05 16:26:25 2009 +0100 @@ -129,7 +129,8 @@ thePrevayler = myPersonality.getPrevayler(new TxnManagerState()); theLogger.log(Level.INFO, "Log Recovery complete..."); - + theLogger.log(Level.INFO, "Using prevayler: " + thePrevayler.getClass()); + theManagerState = (TxnManagerState) thePrevayler.system(); theCheckpointTrigger = @@ -483,7 +484,7 @@ // System.err.println("Bypass"); return aCommand.execute(theManagerState); } else { - // System.err.println("Full log"); + // System.err.println("Full log: " + thePrevayler.getClass()); return thePrevayler.executeCommand(aCommand); } }