public class NoOpNodeReindexService extends Object implements NodeReindexService
| Constructor and Description |
|---|
NoOpNodeReindexService() |
| 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 |
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() |
public void start()
start in interface NodeReindexServicepublic void pause()
NodeReindexServiceNodeReindexService.start()pause in interface NodeReindexServicepublic boolean isPaused()
isPaused in interface NodeReindexServicepublic boolean canIndexBeRebuilt()
NodeReindexServicecanIndexBeRebuilt in interface NodeReindexServicepublic void resetIndexCount()
NodeReindexServiceIt would normally be done immediately following a pause() of the service.
resetIndexCount in interface NodeReindexServicepublic void shutDown()
NodeReindexServiceshutDown in interface NodeReindexServicepublic Map totalStats()
totalStats in interface NodeReindexServiceCopyright © 2002-2021 Atlassian. All Rights Reserved.