org.sakaiproject.search.optimize.shared.impl
Class DbJournalOptimizationManager
java.lang.Object
org.sakaiproject.search.optimize.shared.impl.DbJournalOptimizationManager
- All Implemented Interfaces:
- JournalManager
public class DbJournalOptimizationManager
- extends Object
- implements JournalManager
- Author:
- ieb
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbJournalOptimizationManager
public DbJournalOptimizationManager()
destroy
public void destroy()
init
public void init()
commitSave
public void commitSave(JournalManagerState jms)
throws IndexJournalException
- Specified by:
commitSave in interface JournalManager
- Throws:
IndexJournalException- See Also:
JournalManager.commitSave(org.sakaiproject.search.journal.api.JournalManagerState)
getNextSavePoint
public long getNextSavePoint(long savePoint)
throws JournalErrorException
- Specified by:
getNextSavePoint in interface JournalManager
- Returns:
-
- Throws:
JournalErrorException - if there was an error getting the next savePoint- See Also:
JournalManager.getNextSavePoint(long)
prepareSave
public JournalManagerState prepareSave(long transactionId)
throws IndexJournalException
- Specified by:
prepareSave in interface JournalManager
- Returns:
-
- Throws:
LockTimeoutException
IndexJournalException- See Also:
JournalManager.prepareSave(long)
rollbackSave
public void rollbackSave(JournalManagerState jms)
- Specified by:
rollbackSave in interface JournalManager
- See Also:
JournalManager.rollbackSave(org.sakaiproject.search.journal.api.JournalManagerState)
doOpenTransaction
public void doOpenTransaction(IndexTransaction transaction)
throws IndexJournalException
- Description copied from interface:
JournalManager
- Perfomes the open, giving the JournalManager implementation a chance to
veto the transaction.
- Specified by:
doOpenTransaction in interface JournalManager
- Throws:
IndexJournalException
IndexTransactionException- See Also:
JournalManager.doOpenTransaction(org.sakaiproject.search.transaction.api.IndexTransaction)
getClusterService
public org.sakaiproject.cluster.api.ClusterService getClusterService()
- Returns:
- the clusterService
setClusterService
public void setClusterService(org.sakaiproject.cluster.api.ClusterService clusterService)
- Parameters:
clusterService - the clusterService to set
getDatasource
public DataSource getDatasource()
- Returns:
- the datasource
setDatasource
public void setDatasource(DataSource datasource)
- Parameters:
datasource - the datasource to set
getServerConfigurationService
public org.sakaiproject.component.api.ServerConfigurationService getServerConfigurationService()
- Returns:
- the serverConfigurationService
setServerConfigurationService
public void setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService)
- Parameters:
serverConfigurationService - the serverConfigurationService to set
getJournalSettings
public JournalSettings getJournalSettings()
- Returns:
- the journalSettings
setJournalSettings
public void setJournalSettings(JournalSettings journalSettings)
- Parameters:
journalSettings - the journalSettings to set
Copyright © 2003-2012 Sakai Project. All Rights Reserved.