Package com.atlassian.bamboo.index
Interface IndexerManager
-
- All Known Implementing Classes:
IndexerManagerImpl
@Internal @Deprecated public interface IndexerManager
Deprecated.since 7.2.0 without replacement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DategetEstimatedReindexCompletionTime()Deprecated.Returns information on estimated completion time while full indexing operation is running.longgetEstimatedReindexTime()Deprecated.How long will it take to reindex all indexes.booleanisPendingFullReindex()Deprecated.Check if instance is pending full reindex either because of call tosetPendingFullReindex()or because of aborted full reindexbooleanisReindexInProgress()Deprecated.com.google.common.util.concurrent.ListenableFuture<Boolean>pauseIndexing()Deprecated.Pause indexing.voidsetPendingFullReindex()Deprecated.Persist information that full reindex is requested.@NotNull com.google.common.util.concurrent.ListenableFuture<Boolean>triggerFullReindex()Deprecated.Triggers asynchronous full reindex.
-
-
-
Method Detail
-
triggerFullReindex
@NotNull @NotNull com.google.common.util.concurrent.ListenableFuture<Boolean> triggerFullReindex()
Deprecated.Triggers asynchronous full reindex.- Returns:
- Future object that will return true on successful operation completion
-
isReindexInProgress
boolean isReindexInProgress()
Deprecated.- Returns:
- true if reindex is running
-
setPendingFullReindex
void setPendingFullReindex()
Deprecated.Persist information that full reindex is requested. This flag will be used during Bamboo startup, it is supposed to be set by import/upgrade only and will be cleared by the next successful full reindex.
-
isPendingFullReindex
boolean isPendingFullReindex()
Deprecated.Check if instance is pending full reindex either because of call tosetPendingFullReindex()or because of aborted full reindex- Returns:
- true if there's full reindex pending
-
pauseIndexing
com.google.common.util.concurrent.ListenableFuture<Boolean> pauseIndexing()
Deprecated.Pause indexing.- Returns:
- future which allows to be notified when index in progress is finished.
-
getEstimatedReindexTime
long getEstimatedReindexTime()
Deprecated.How long will it take to reindex all indexes.- Returns:
- seconds of how long
-
getEstimatedReindexCompletionTime
Date getEstimatedReindexCompletionTime()
Deprecated.Returns information on estimated completion time while full indexing operation is running. Time is calculated based on previous indexer runs and is not refreshed during reindex operation.- Returns:
- estimated completion date, null when no reindex operation is running at the moment
-
-