public class QuickSearchIndexerImpl extends AbstractIndexer implements QuickSearchIndexer
AbstractIndexer.FlushAndUnlockIndexerQueueCallback, AbstractIndexer.IndexAllCallable, AbstractIndexer.UpdateApproximateIndexingTimePerResultCallback
indexerService, luceneConnection
Constructor and Description |
---|
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,
ProjectManager projectManager,
PlanManager planManager) |
Modifier and Type | Method and Description |
---|---|
void |
deleteDeploymentProject(DeploymentProjectDeletedEvent event) |
long |
getEstimatedReindexTime()
How long will it take to reindex all objects in this index.
|
protected BambooBandanaContext |
getIndexerBandanaContext() |
void |
indexAll(Executor executor)
Reindexes anything this index is supposed to have in it.
|
void |
indexDeploymentProject(DeploymentProjectConfigUpdatedEvent event) |
void |
indexDeploymentProject(DeploymentProjectCreatedEvent event) |
void |
onBuildConfigUpdatedEvent(BuildConfigurationUpdatedEvent event) |
void |
onChainCreated(ChainCreatedEvent event) |
void |
onChainDeletedEvent(ChainDeletedEvent event) |
void |
onChainMoved(ChainMovedEvent event) |
void |
onMultipleChainDeletedEvent(MultipleChainsDeletedEvent event) |
void |
onProjectCreated(ProjectCreatedEvent event) |
void |
onProjectDeleted(ProjectDeletedEvent event) |
void |
onProjectUpdated(ProjectUpdatedEvent event) |
deleteIndex, flushAndUnlockIndexerQueue, getApproximateIndexingTimePerResult, getConcurrentIndexers, getDefaultIndexerContext, getNumberOfDocuments, lockIndexerQueue, updateApproximateIndexingTimePerResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteIndex, getNumberOfDocuments
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, ProjectManager projectManager, PlanManager planManager)
public void indexAll(@NotNull Executor executor) throws Exception
Indexer
@EventListener public void onProjectCreated(@NotNull ProjectCreatedEvent event)
@EventListener public void onProjectUpdated(@NotNull ProjectUpdatedEvent event)
@EventListener public void onProjectDeleted(@NotNull ProjectDeletedEvent event)
@EventListener public void onChainCreated(@NotNull ChainCreatedEvent event)
@EventListener public void onChainDeletedEvent(@NotNull ChainDeletedEvent event)
@EventListener public void onChainMoved(@NotNull ChainMovedEvent event)
@EventListener public void onMultipleChainDeletedEvent(@NotNull MultipleChainsDeletedEvent event)
@EventListener public void onBuildConfigUpdatedEvent(@NotNull BuildConfigurationUpdatedEvent event)
@EventListener public void indexDeploymentProject(@NotNull DeploymentProjectCreatedEvent event)
@EventListener public void indexDeploymentProject(@NotNull DeploymentProjectConfigUpdatedEvent event)
@EventListener public void deleteDeploymentProject(@NotNull DeploymentProjectDeletedEvent event)
public long getEstimatedReindexTime()
Indexer
getEstimatedReindexTime
in interface Indexer
protected BambooBandanaContext getIndexerBandanaContext()
getIndexerBandanaContext
in class AbstractIndexer
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.