org.sakaiproject.search.journal.api
Interface JournalManager
- All Known Implementing Classes:
- DbJournalManager, DbJournalOptimizationManager
public interface JournalManager
The journal manage manages the state of the journal for the current node
- Author:
- ieb
getNextSavePoint
long getNextSavePoint(long savePoint)
throws JournalErrorException
- Parameters:
savePoint -
- Returns:
-
- Throws:
JournalErrorException - if there was an error getting the next savePoint
prepareSave
JournalManagerState prepareSave(long transactionId)
throws IndexJournalException
- Parameters:
transactionId -
- Returns:
-
- Throws:
IndexJournalException
commitSave
void commitSave(JournalManagerState jms)
throws IndexJournalException
- Parameters:
jms -
- Throws:
IndexJournalException
rollbackSave
void rollbackSave(JournalManagerState jms)
- Parameters:
jms -
doOpenTransaction
void doOpenTransaction(IndexTransaction transaction)
throws IndexJournalException
- Perfomes the open, giving the JournalManager implementation a chance to
veto the transaction.
- Parameters:
transaction -
- Throws:
IndexJournalException
Copyright © 2003-2012 Sakai Project. All Rights Reserved.