org.sakaiproject.search.indexer.debug
Class DebugTransactionListener
java.lang.Object
org.sakaiproject.search.indexer.debug.DebugTransactionListener
- All Implemented Interfaces:
- IndexUpdateTransactionListener, MergeTransactionListener, TransactionListener
public class DebugTransactionListener
- extends Object
- implements MergeTransactionListener, IndexUpdateTransactionListener
- Author:
- ieb Unit test
- See Also:
org.sakaiproject.search.indexer.impl.test.TransactionalIndexWorkerTest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DebugTransactionListener
public DebugTransactionListener()
init
public void init()
destroy
public void destroy()
commit
public void commit(IndexTransaction transaction)
throws IndexTransactionException
- Specified by:
commit in interface TransactionListener
- Throws:
IndexTransactionException- See Also:
org.sakaiproject.search.transaction.api.TransactionListener#commit(org.sakaiproject.search.indexer.api.IndexUpdateTransaction)
open
public void open(IndexTransaction transaction)
throws IndexTransactionException
- Specified by:
open in interface TransactionListener
- Throws:
IndexTransactionException- See Also:
org.sakaiproject.search.transaction.api.TransactionListener#open(org.sakaiproject.search.indexer.api.IndexUpdateTransaction)
prepare
public void prepare(IndexTransaction transaction)
throws IndexJournalException
- Description copied from interface:
TransactionListener
- Prepare to commit the transaction
- Specified by:
prepare in interface TransactionListener
- Throws:
IndexJournalException- See Also:
org.sakaiproject.search.transaction.api.TransactionListener#prepare(org.sakaiproject.search.indexer.api.IndexUpdateTransaction)
rollback
public void rollback(IndexTransaction transaction)
throws IndexTransactionException
- Specified by:
rollback in interface TransactionListener
- Throws:
IndexTransactionException- See Also:
org.sakaiproject.search.transaction.api.TransactionListener#rollback(org.sakaiproject.search.indexer.api.IndexUpdateTransaction)
close
public void close(IndexTransaction transaction)
throws IndexTransactionException
- Specified by:
close in interface TransactionListener
- Throws:
IndexTransactionException- See Also:
TransactionListener.close(org.sakaiproject.search.transaction.api.IndexTransaction)
Copyright © 2003-2012 Sakai Project. All Rights Reserved.