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 | 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() | 
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 boolean hasPendingReindexOperations()
NodeReindexServicehasPendingReindexOperations 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-2024 Atlassian. All Rights Reserved.