public class AVMFullIndexRecoveryComponent extends AbstractReindexComponent
AbstractReindexComponent.InIndex, AbstractReindexComponent.ReindexNodeCallback, AbstractReindexComponent.ReindexTerminatedException
ftsIndexer, 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, waitForAsynchronousReindexing
public 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()
AbstractReindexComponent
reindexImpl
in class AbstractReindexComponent
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.