com.atlassian.bamboo.index.quicksearch
Class QuickSearchIndexerImpl
java.lang.Object
com.atlassian.bamboo.index.AbstractIndexer
com.atlassian.bamboo.index.quicksearch.QuickSearchIndexerImpl
- All Implemented Interfaces:
- Indexer, QuickSearchIndexer, org.springframework.beans.factory.InitializingBean
public class QuickSearchIndexerImpl
- extends AbstractIndexer
- implements QuickSearchIndexer, org.springframework.beans.factory.InitializingBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuickSearchIndexerImpl
public QuickSearchIndexerImpl(com.atlassian.bonnie.ILuceneConnection luceneConnection,
IndexerService indexerService,
CachedPlanManager cachedPlanManager,
DeploymentProjectService deploymentProjectService,
com.atlassian.config.db.HibernateConfig hibernateConfig,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.bandana.BandanaManager bandanaManager,
PlanManager planManager)
indexAll
public void indexAll(@NotNull
ExecutorService executor)
throws Exception
- Description copied from interface:
Indexer
- Reindexes anything this index is supposed to have in it.
Indexers are supposed to use executor to split the job into reasonable-sized chunks.
- Specified by:
indexAll
in interface Indexer
- Parameters:
executor
- allows multithreaded execution of indexer
- Throws:
Exception
onChainCreated
@EventListener
public void onChainCreated(@NotNull
ChainCreatedEvent event)
onChainDeletedEvent
@EventListener
public void onChainDeletedEvent(@NotNull
ChainDeletedEvent event)
onMultipleChainDeletedEvent
@EventListener
public void onMultipleChainDeletedEvent(@NotNull
MultipleChainsDeletedEvent event)
onBuildConfigUpdatedEvent
@EventListener
public void onBuildConfigUpdatedEvent(@NotNull
BuildConfigurationUpdatedEvent event)
indexDeploymentProject
@EventListener
public void indexDeploymentProject(@NotNull
DeploymentProjectCreatedEvent event)
indexDeploymentProject
@EventListener
public void indexDeploymentProject(@NotNull
DeploymentProjectConfigUpdatedEvent event)
deleteDeploymentProject
@EventListener
public void deleteDeploymentProject(@NotNull
DeploymentProjectDeletedEvent event)
getEstimatedReindexTime
public long getEstimatedReindexTime()
- Description copied from interface:
Indexer
- How long will it take to reindex all objects in this index.
- Specified by:
getEstimatedReindexTime
in interface Indexer
- Returns:
- seconds of how long
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getIndexerBandanaContext
protected BambooBandanaContext getIndexerBandanaContext()
- Specified by:
getIndexerBandanaContext
in class AbstractIndexer
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.