public class

IndexingCounterManagerImpl

extends Object
implements Startable IndexingCounter IndexingCounterManager
java.lang.Object
   ↳ com.atlassian.jira.util.index.IndexingCounterManagerImpl

Summary

Public Constructors
IndexingCounterManagerImpl(BackingPropertySetManager backingPropertySetManager, ClusterLockService clusterLockService)
Public Methods
long getCurrentValue()
This method returns the current re-indexing count.
long incrementValue()
void start()
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.extension.Startable
From interface com.atlassian.jira.util.index.IndexingCounter
From interface com.atlassian.jira.util.index.IndexingCounterManager

Public Constructors

public IndexingCounterManagerImpl (BackingPropertySetManager backingPropertySetManager, ClusterLockService clusterLockService)

Public Methods

public long getCurrentValue ()

This method returns the current re-indexing count.

Returns
  • the value of the most recent re-index run

public long incrementValue ()

public void start ()

This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.