@Internal
public interface IndexerManager
Modifier and Type | Method and Description |
---|---|
Date |
getEstimatedReindexCompletionTime()
Returns information on estimated completion time while full indexing operation is running.
|
long |
getEstimatedReindexTime()
How long will it take to reindex all indexes.
|
int |
getNumberOfDocuments()
How many documents all indexes have in total.
|
boolean |
isPendingFullReindex()
Check if instance is pending full reindex either because of call to
setPendingFullReindex() or because of aborted full reindex |
boolean |
isPendingPartialReindex()
Check if instance is pending full reindex of SOME indexers or because of aborted full reindex
|
boolean |
isReindexInProgress() |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
pauseIndexing()
Pause indexing.
|
void |
setPendingFullReindex()
Persist information that full reindex is requested.
|
void |
setPendingPartialReindex(List<String> indexerNames)
Persist information that full reindex of SOME indexers is requested.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
triggerFullReindex()
Triggers asynchronous full reindex.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
triggerPartialReindex()
Trigger asynchronous reindex of previously selected indexers
Selected indexes will be removed and all documents will be regenerated by
Indexer s. |
@NotNull com.google.common.util.concurrent.ListenableFuture<Boolean> triggerFullReindex()
Indexer
s.@NotNull com.google.common.util.concurrent.ListenableFuture<Boolean> triggerPartialReindex()
Indexer
s.long getEstimatedReindexTime()
int getNumberOfDocuments()
boolean isReindexInProgress()
void setPendingFullReindex()
boolean isPendingFullReindex()
setPendingFullReindex()
or because of aborted full reindexboolean isPendingPartialReindex()
void setPendingPartialReindex(List<String> indexerNames)
Date getEstimatedReindexCompletionTime()
com.google.common.util.concurrent.ListenableFuture<Boolean> pauseIndexing()
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.