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 NodeReindexService
public void pause()
NodeReindexService
NodeReindexService.start()
pause
in interface NodeReindexService
public boolean isPaused()
isPaused
in interface NodeReindexService
public boolean canIndexBeRebuilt()
NodeReindexService
canIndexBeRebuilt
in interface NodeReindexService
public boolean hasPendingReindexOperations()
NodeReindexService
hasPendingReindexOperations
in interface NodeReindexService
public void resetIndexCount()
NodeReindexService
It would normally be done immediately following a pause() of the service.
resetIndexCount
in interface NodeReindexService
public void shutDown()
NodeReindexService
shutDown
in interface NodeReindexService
public Map totalStats()
totalStats
in interface NodeReindexService
Copyright © 2002-2024 Atlassian. All Rights Reserved.