hu.netmind.beankeeper.event
Class TransactionCommitEndingEvent

java.lang.Object
  extended by hu.netmind.beankeeper.event.TransactionEvent
      extended by hu.netmind.beankeeper.event.TransactionCommitEndingEvent
All Implemented Interfaces:
PersistenceEvent

public class TransactionCommitEndingEvent
extends TransactionEvent

This event notifies the listener that the end serial is choosen for the transaction. It is delivered after the listeners for the committing event are notified, but before the commit physically occurs. Because every operation in a single transaction will appear to have occured at a precise atomic moment (serial) in time, a specific serial must be choosen. When this event is delivered, the getEndSerial() in the transaction will contain the serial under which this transaction will be visible. Note: Do not do any store operations during handling of this event, because the commit lock is engaged when this event is delivered. It is likely an operation will cause a deadlock.


Constructor Summary
TransactionCommitEndingEvent(Transaction transaction)
           
 
Method Summary
 
Methods inherited from class hu.netmind.beankeeper.event.TransactionEvent
getTransaction, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionCommitEndingEvent

public TransactionCommitEndingEvent(Transaction transaction)