org.sakaiproject.search.transaction.api
Interface TransactionListener
- All Known Subinterfaces:
- IndexUpdateTransactionListener, MergeTransactionListener, OptimizeTransactionListener
- All Known Implementing Classes:
- DebugTransactionListener, JournaledFSIndexStorageUpdateTransactionListener, JournalManagerUpdateTransaction, JournalOptimizationEndTransactionListener, JournalOptimizationStartTransactionListener, JournalStorageUpdateTransactionListener, OptimizeSharedTransactionListenerImpl, OptimizeTransactionListenerImpl, SearchBuilderQueueManager, SharedFilesystemLoadTransactionListener, SharedFilesystemSaveTransactionListener
public interface TransactionListener
This listener is notified of changes in the transaction state.
- Author:
- ieb
prepare
void prepare(IndexTransaction transaction)
throws IndexTransactionException
- Prepare to commit the transaction
- Parameters:
transaction -
- Throws:
IndexJournalException
IndexTransactionException
commit
void commit(IndexTransaction transaction)
throws IndexTransactionException
- Parameters:
transaction -
- Throws:
IndexTransactionException
rollback
void rollback(IndexTransaction transaction)
throws IndexTransactionException
- Parameters:
transaction -
- Throws:
IndexTransactionException
open
void open(IndexTransaction transaction)
throws IndexTransactionException
- Parameters:
transaction -
- Throws:
IndexTransactionException
close
void close(IndexTransaction transaction)
throws IndexTransactionException
- Parameters:
transaction -
- Throws:
IndexTransactionException
Copyright © 2003-2012 Sakai Project. All Rights Reserved.