public interface IncrementalIndexManager
Modifier and Type | Method and Description |
---|---|
void |
addTask(ConfluenceIndexTask task)
Adds a new task to the index queue
|
default boolean |
flushQueue()
Flushes the index queue, processing all of the tasks.
|
boolean |
flushQueue(IndexManager.IndexQueueFlushMode flushMode)
Flushes the index queue, processing a batch of the tasks
|
@Nullable FlushStatistics |
getLastNonEmptyFlushStats() |
int |
getQueueSize() |
boolean |
isFlushing()
Returns true if the the index queue is currently being flushed.
|
void |
resetIndexQueue()
Resets the index queue removes all entries from the queue without processing them.
|
boolean isFlushing()
boolean flushQueue(IndexManager.IndexQueueFlushMode flushMode)
flushMode
- - whether to flush the entire queue, or just one batch of batchsize as specified by
the system property index.queue.batch.sizedefault boolean flushQueue()
void resetIndexQueue()
@Nullable FlushStatistics getLastNonEmptyFlushStats()
null
if no flush has occured from system start.int getQueueSize()
void addTask(ConfluenceIndexTask task)
Copyright © 2003–2021 Atlassian. All rights reserved.