|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.search.impl.lucene.fts.FullTextSearchIndexerImpl
public class FullTextSearchIndexerImpl
Background index update scheduler
Constructor Summary | |
---|---|
FullTextSearchIndexerImpl()
|
Method Summary | |
---|---|
void |
destroy()
|
void |
index()
Do a chunk of outstanding indexing work |
void |
indexCompleted(org.alfresco.service.cmr.repository.StoreRef storeRef,
int remaining,
java.lang.Exception e)
Call back used by the background indexer |
static void |
main(java.lang.String[] args)
|
void |
pause()
Pause indexing 9no back ground indexing until a resume is called) |
void |
requiresIndex(org.alfresco.service.cmr.repository.StoreRef storeRef)
Mark a store as dirty, requiring a background index update to fix it up. |
void |
resume()
Resume after a pause |
void |
setBatchSize(int batchSzie)
The maximum maximum batch size |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
void |
setIndexerAndSearcherFactory(IndexerAndSearcher indexerAndSearcherFactory)
|
void |
setTransactionService(TransactionService transactionService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FullTextSearchIndexerImpl()
Method Detail |
---|
public void requiresIndex(org.alfresco.service.cmr.repository.StoreRef storeRef)
FullTextSearchIndexer
requiresIndex
in interface FullTextSearchIndexer
public void indexCompleted(org.alfresco.service.cmr.repository.StoreRef storeRef, int remaining, java.lang.Exception e)
FTSIndexerAware
indexCompleted
in interface FTSIndexerAware
indexCompleted
in interface FullTextSearchIndexer
public void pause() throws java.lang.InterruptedException
FullTextSearchIndexer
pause
in interface FullTextSearchIndexer
java.lang.InterruptedException
public void resume() throws java.lang.InterruptedException
FullTextSearchIndexer
resume
in interface FullTextSearchIndexer
java.lang.InterruptedException
public void index()
FullTextSearchIndexer
index
in interface FullTextSearchIndexer
public void setIndexerAndSearcherFactory(IndexerAndSearcher indexerAndSearcherFactory)
indexerAndSearcherFactory
- public void setTransactionService(TransactionService transactionService)
transactionService
- public static void main(java.lang.String[] args) throws java.lang.InterruptedException
args
-
java.lang.InterruptedException
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public void setBatchSize(int batchSzie)
batchSize
- the batchSize to setpublic void destroy() throws java.lang.Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |