net.sf.farrago.test
Class FarragoQueryTest.TxnListener
java.lang.Object
net.sf.farrago.test.FarragoQueryTest.TxnListener
- All Implemented Interfaces:
- FarragoSessionTxnListener
- Enclosing class:
- FarragoQueryTest
private static class FarragoQueryTest.TxnListener
- extends Object
- implements FarragoSessionTxnListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
events
List<Object> events
FarragoQueryTest.TxnListener
FarragoQueryTest.TxnListener()
transactionBegun
public void transactionBegun(FarragoSession session,
FarragoSessionTxnId txnId)
- Description copied from interface:
FarragoSessionTxnListener
- Notifies listener of a call to FarragoSessionTxnMgr.beginTxn.
- Specified by:
transactionBegun
in interface FarragoSessionTxnListener
- Parameters:
session
- session initiating transactiontxnId
- new transaction ID
tableAccessed
public void tableAccessed(FarragoSessionTxnId txnId,
List<String> localTableName,
TableAccessMap.Mode accessType)
- Description copied from interface:
FarragoSessionTxnListener
- Notifies listener of the effect of a call to
FarragoSessionTxnMgr.accessTable.
- Specified by:
tableAccessed
in interface FarragoSessionTxnListener
- Parameters:
txnId
- ID of transaction in which access is occurringlocalTableName
- qualified name of table as it is known in the local
catalogaccessType
- type of table access
transactionEnded
public void transactionEnded(FarragoSessionTxnId txnId,
FarragoSessionTxnEnd endType)
- Description copied from interface:
FarragoSessionTxnListener
- Notifies listener of a call to FarragoSessionTxnMgr.endTxn.
- Specified by:
transactionEnded
in interface FarragoSessionTxnListener
- Parameters:
txnId
- ID of ending transactionendType
- how transaction is ending