com.atlassian.jira.util.index
Interface IndexingCounter

All Known Implementing Classes:
IndexingCounterManagerImpl

@PublicApi
public interface IndexingCounter

IndexingCounter provides access to a persistent 'count' of full re-indexes. This may be used by upgraded plugins to determine whether the index is up to date for whatever custom field changes they have made. For example, an upgrade task can record the current index value and a plugin can display a 're-index required' message until a full re-index has occurred and the value has changed.

Since:
v6.0

Method Summary
 long getCurrentValue()
          This method returns the current re-indexing count.
 

Method Detail

getCurrentValue

long getCurrentValue()
This method returns the current re-indexing count.

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


Copyright © 2002-2014 Atlassian. All Rights Reserved.