org.sakaiproject.search.indexer.impl
Class TransactionIndexManagerImpl
java.lang.Object
org.sakaiproject.search.transaction.impl.TransactionManagerImpl
org.sakaiproject.search.indexer.impl.TransactionIndexManagerImpl
- All Implemented Interfaces:
- TransactionIndexManager
public class TransactionIndexManagerImpl
- extends TransactionManagerImpl
- 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 |
TEMP_INDEX_NAME
protected static final String TEMP_INDEX_NAME
- See Also:
- Constant Field Values
TransactionIndexManagerImpl
public TransactionIndexManagerImpl()
init
public void init()
- Overrides:
init in class TransactionManagerImpl
destroy
public void destroy()
- Overrides:
destroy in class TransactionManagerImpl
openTransaction
public IndexUpdateTransaction openTransaction(Map<String,Object> m)
throws IndexTransactionException
- Description copied from interface:
TransactionIndexManager
- Creates a new trasaction for index update
- Parameters:
m - the properties of the transaction
- Returns:
-
- Throws:
IndexTransactionException
getTemporarySegment
protected File getTemporarySegment(long txid)
throws IOException
- Returns:
-
- Throws:
IOException
getAnalyzer
public org.apache.lucene.analysis.Analyzer getAnalyzer()
getAnalyzerFactory
public AnalyzerFactory getAnalyzerFactory()
- Returns:
- the analyzerFactory
setAnalyzerFactory
public void setAnalyzerFactory(AnalyzerFactory analyzerFactory)
- Parameters:
analyzerFactory - the analyzerFactory to set
addTransactionListener
public void addTransactionListener(TransactionListener transactionListener)
- Specified by:
addTransactionListener in interface TransactionIndexManager- Overrides:
addTransactionListener in class TransactionManagerImpl
setTransactionListeners
public void setTransactionListeners(List<TransactionListener> transactionListeners)
- Overrides:
setTransactionListeners in class TransactionManagerImpl
- Parameters:
transactionListeners - the transactionListeners 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.