public class EnvironmentIndexerImpl extends AbstractIndexer implements EnvironmentIndexer
AbstractIndexer.FlushAndUnlockIndexerQueueCallback, AbstractIndexer.IndexAllCallable, AbstractIndexer.UpdateApproximateIndexingTimePerResultCallback
indexerService, luceneConnection
Constructor and Description |
---|
EnvironmentIndexerImpl(com.atlassian.bonnie.ILuceneConnection luceneConnection,
com.atlassian.bandana.BandanaManager bandanaManager,
com.atlassian.config.db.HibernateConfig hibernateConfig,
IndexerService indexerService,
DeploymentResultService deploymentResultService,
DeploymentProjectService deploymentProjectService,
DeploymentVersionService deploymentVersionService,
EnvironmentService environmentService,
com.atlassian.event.api.EventPublisher eventPublisher) |
deleteIndex, flushAndUnlockIndexerQueue, getApproximateIndexingTimePerResult, getConcurrentIndexers, getDefaultIndexerContext, getNumberOfDocuments, lockIndexerQueue, updateApproximateIndexingTimePerResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteIndex, getNumberOfDocuments
public EnvironmentIndexerImpl(com.atlassian.bonnie.ILuceneConnection luceneConnection, com.atlassian.bandana.BandanaManager bandanaManager, com.atlassian.config.db.HibernateConfig hibernateConfig, IndexerService indexerService, DeploymentResultService deploymentResultService, DeploymentProjectService deploymentProjectService, DeploymentVersionService deploymentVersionService, EnvironmentService environmentService, @NotNull com.atlassian.event.api.EventPublisher eventPublisher)
protected BambooBandanaContext getIndexerBandanaContext()
getIndexerBandanaContext
in class AbstractIndexer
public void indexAll(@NotNull Executor executor) throws Exception
Indexer
@EventListener public void indexEnvironment(EnvironmentConfigUpdatedEvent event)
@EventListener public void indexEnvironment(EnvironmentCreatedEvent event)
@EventListener public void indexEnvironmentsForProject(EnvironmentOrderUpdatedEvent event)
@EventListener public void indexEnvironmentsForProject(DeploymentProjectConfigUpdatedEvent event)
@EventListener public void indexEnvironment(DeploymentFinishedEvent event)
@EventListener public void deindexResult(DeploymentResultDeletedEvent event)
@EventListener public void deindexEnvironment(EnvironmentDeletedEvent event)
@EventListener public void deindexEnvironmentsForProject(DeploymentProjectDeletedEvent event)
@EventListener public com.google.common.util.concurrent.ListenableFuture deindexVersion(DeploymentVersionDeletedEvent event)
@EventListener public com.google.common.util.concurrent.ListenableFuture reindexVersion(DeploymentVersionRenamedEvent event)
public long getEstimatedReindexTime()
Indexer
getEstimatedReindexTime
in interface Indexer
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.