public class AVMFullIndexRecoveryComponent extends AbstractReindexComponent
AbstractReindexComponent.InIndex, AbstractReindexComponent.ReindexNodeCallback, AbstractReindexComponent.ReindexTerminatedExceptionftsIndexer, indexer, nodeDAO, nodeService, searcher, transactionService| Constructor and Description |
|---|
AVMFullIndexRecoveryComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
reindexImpl()
Perform the actual work.
|
void |
setAvmService(AVMService avmService) |
void |
setAvmSnapShotTriggeredIndexingMethodInterceptor(AVMSnapShotTriggeredIndexingMethodInterceptor avmSnapShotTriggeredIndexingMethodInterceptor) |
void |
setLockServer(boolean lockServer)
Set this on to put the server into READ-ONLY mode for the duration of the index recovery.
|
void |
setRecoveryMode(java.lang.String recoveryMode)
Set the type of recovery to perform.
|
doInRetryingTransaction, getIndexerWriteLock, isIgnorableStore, isShuttingDown, isTxnPresentInIndex, isTxnPresentInIndex, reindex, reindexTransaction, reindexTransaction, reindexTransactionAsynchronously, requireTransaction, setAuthenticationComponent, setFtsIndexer, setIndexer, setNodeDAO, setNodeService, setSearcher, setShutdown, setStoreProtocolsToIgnore, setStoresToIgnore, setTenantService, setThreadPoolExecutor, setTransactionService, waitForAsynchronousReindexingpublic void setRecoveryMode(java.lang.String recoveryMode)
to validate the indexes only.recoveryMode - one of the FullIndexRecoveryComponent.RecoveryMode valuespublic void setLockServer(boolean lockServer)
lockServer - true to force the server to be read-onlypublic void setAvmService(AVMService avmService)
public void setAvmSnapShotTriggeredIndexingMethodInterceptor(AVMSnapShotTriggeredIndexingMethodInterceptor avmSnapShotTriggeredIndexingMethodInterceptor)
protected void reindexImpl()
AbstractReindexComponentreindexImpl in class AbstractReindexComponentCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.