org.sakaiproject.search.optimize.shared.impl
Class JournalOptimizationStartTransactionListener

java.lang.Object
  extended by org.sakaiproject.search.optimize.shared.impl.JournalOptimizationStartTransactionListener
All Implemented Interfaces:
IndexUpdateTransactionListener, TransactionListener

public class JournalOptimizationStartTransactionListener
extends Object
implements IndexUpdateTransactionListener

A transaction listener that connects to the Journal Optimize Journal manager

Author:
ieb

Constructor Summary
JournalOptimizationStartTransactionListener()
           
 
Method Summary
 void close(IndexTransaction transaction)
           
 void commit(IndexTransaction transaction)
           
 void destroy()
           
 void init()
           
 void open(IndexTransaction transaction)
           
 void prepare(IndexTransaction transaction)
          Prepare to commit the transaction
 void rollback(IndexTransaction transaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalOptimizationStartTransactionListener

public JournalOptimizationStartTransactionListener()
Method Detail

init

public void init()

destroy

public void destroy()

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)

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)

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)

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)


Copyright © 2003-2012 Sakai Project. All Rights Reserved.