|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupComponent
public static class AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupComponent
This component is able to safely perform backups of the Lucene indexes while the server is running.
It can be run directly by calling the AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupComponent.backup()
method, but the convenience AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupJob
can be used to call it as well.
Constructor Summary | |
---|---|
AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupComponent()
Default constructor |
Method Summary | |
---|---|
void |
afterPropertiesSetXXX()
|
void |
backup()
Backup the Lucene indexes |
void |
setCheckConfiguration(boolean checkConfiguration)
If false do not check the index configuration. |
void |
setFactories(java.util.Set factories)
Set the Lucene index factory that will be used to control the index locks |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Used to retrieve the stores |
void |
setTargetLocation(java.lang.String targetLocation)
Set the directory to which the backup will be copied |
void |
setTransactionService(TransactionService transactionService)
Provides transactions in which to perform the work |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractLuceneIndexerAndSearcherFactory.LuceneIndexBackupComponent()
Method Detail |
---|
public void setCheckConfiguration(boolean checkConfiguration)
checkConfiguration
- public void setTransactionService(TransactionService transactionService)
transactionService
- public void setFactories(java.util.Set factories)
factories
- the index factoriespublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the node servicepublic void setTargetLocation(java.lang.String targetLocation)
targetLocation
- the backup directorypublic void backup()
public void afterPropertiesSetXXX() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |