Package com.atlassian.jira.util.index
Class IndexingCounterManagerImpl
java.lang.Object
com.atlassian.jira.util.index.IndexingCounterManagerImpl
- All Implemented Interfaces:
Startable
,IndexingCounter
,IndexingCounterManager
public class IndexingCounterManagerImpl
extends Object
implements IndexingCounterManager, IndexingCounter, Startable
- Since:
- v6.0
-
Constructor Summary
ConstructorsConstructorDescriptionIndexingCounterManagerImpl
(BackingPropertySetManager backingPropertySetManager, com.atlassian.beehive.ClusterLockService clusterLockService) -
Method Summary
Modifier and TypeMethodDescriptionlong
This method returns the current re-indexing count.long
void
start()
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
-
Constructor Details
-
IndexingCounterManagerImpl
public IndexingCounterManagerImpl(BackingPropertySetManager backingPropertySetManager, com.atlassian.beehive.ClusterLockService clusterLockService)
-
-
Method Details
-
start
public void start()Description copied from interface:Startable
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework. -
getCurrentValue
public long getCurrentValue()Description copied from interface:IndexingCounter
This method returns the current re-indexing count.- Specified by:
getCurrentValue
in interfaceIndexingCounter
- Returns:
- the value of the most recent re-index run
-
incrementValue
public long incrementValue()- Specified by:
incrementValue
in interfaceIndexingCounterManager
-