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 TypeMethodDescriptionlongThis method returns the current re-indexing count.longvoidstart()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:StartableThis 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:IndexingCounterThis method returns the current re-indexing count.- Specified by:
getCurrentValuein interfaceIndexingCounter- Returns:
- the value of the most recent re-index run
-
incrementValue
public long incrementValue()- Specified by:
incrementValuein interfaceIndexingCounterManager
-