public interface NodeReindexService
Modifier and Type | Method and Description |
---|---|
boolean |
canIndexBeRebuilt()
Returns true if the index on the invoking node can be rebuilt from the information contained in the
ReplicatedIndexOperationStore.
|
boolean |
hasPendingReindexOperations()
Returns true is any other node has completed full reindex or project reindex and this node has not consumed this
replicated operation yet (i.e.
|
boolean |
isPaused() |
void |
pause()
Pause the service.
|
void |
resetIndexCount()
Reset the index count to the last entry in the NodeIndexOperation table for each node.
|
void |
shutDown()
shuts down this service - this must be the last operation performed on this service;
|
void |
start() |
Map |
totalStats() |
void start()
void pause()
start()
boolean isPaused()
boolean canIndexBeRebuilt()
boolean hasPendingReindexOperations()
void resetIndexCount()
It would normally be done immediately following a pause() of the service.
void shutDown()
Map totalStats()
Copyright © 2002-2023 Atlassian. All Rights Reserved.